Merged PR 2357: dashboards in admin for appeals and lpa
dashboards in admin for appeals and lpa Related work items: #23527
This commit is contained in:
@@ -65,3 +65,23 @@ export const getNewDocumentsPaged = async (
|
||||
return logAndReturnResponse(error);
|
||||
}
|
||||
};
|
||||
|
||||
export const getStatusByAppeal = async () => {
|
||||
try {
|
||||
return await getJson(
|
||||
BASE_URL + "/api/admin/getStatusCountsByAppeal_api"
|
||||
);
|
||||
} catch (error) {
|
||||
return logAndReturnResponse(error);
|
||||
}
|
||||
};
|
||||
|
||||
export const getStatusByAppealLPA = async () => {
|
||||
try {
|
||||
return await getJson(
|
||||
BASE_URL + "/api/admin/getStatusCountsByAppealAndLPA_api"
|
||||
);
|
||||
} catch (error) {
|
||||
return logAndReturnResponse(error);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,7 +1,15 @@
|
||||
import {
|
||||
getNewAppeals,
|
||||
getNewAppealsPage,
|
||||
getNewDocumentsPaged
|
||||
getNewDocumentsPaged,
|
||||
getStatusByAppeal,
|
||||
getStatusByAppealLPA
|
||||
} from "./adminDirectService";
|
||||
|
||||
export { getNewAppeals, getNewAppealsPage, getNewDocumentsPaged };
|
||||
export {
|
||||
getNewAppeals,
|
||||
getNewAppealsPage,
|
||||
getNewDocumentsPaged,
|
||||
getStatusByAppeal,
|
||||
getStatusByAppealLPA
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user