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:
@@ -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);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user