Merged PR 2350: added in count on case status dropdown

added in count on case status dropdown

Related work items: #23447
This commit is contained in:
Robert Bond
2026-05-28 09:02:30 +00:00
parent 905c82f598
commit 24cd7000f7
4 changed files with 147 additions and 15 deletions
+11
View File
@@ -274,3 +274,14 @@ export const getPortalModuleDetailsProxy = (appealType, caseReference) => {
consoleLogger(error);
});
};
export const getCaseStatus = async (appealType, caseReference) => {
const route = buildFileQuery("/api/endpoint/getStatusCounts_api", {
appealType,
caseReference: encodeURI(caseReference)
});
return getJson(withBaseUrl(BASE_URL, route)).catch((error) => {
consoleLogger(error);
});
};