added fixes to reduce error when calling module details and filtering of docs
This commit is contained in:
+5
-3
@@ -474,7 +474,7 @@ export const getAdvancedSearchPaged = (
|
||||
});
|
||||
};
|
||||
|
||||
export const getBasicSearchDetails = (
|
||||
export const getBasicSearchDetails = async (
|
||||
appealTypeName,
|
||||
caseReference,
|
||||
primaryIdAttribute,
|
||||
@@ -528,7 +528,7 @@ export const getBasicPartSavedDetails = (
|
||||
});
|
||||
};
|
||||
|
||||
export const getBasicSearchDetailsPaged = (
|
||||
export const getBasicSearchDetailsPaged = async (
|
||||
appealTypeName,
|
||||
caseReference,
|
||||
primaryIdAttribute,
|
||||
@@ -1015,7 +1015,7 @@ export const getAwaitingSubmissionFromBlobProxy = (containerName) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const getPortalModuleDetails = (appealType, caseReference) => {
|
||||
export const getPortalModuleDetails = async (appealType, caseReference) => {
|
||||
//console.log(
|
||||
// BASE_URL +
|
||||
// "/api/endpoint/getportalmoduledetails_api?appealType=" +
|
||||
@@ -1023,6 +1023,7 @@ export const getPortalModuleDetails = (appealType, caseReference) => {
|
||||
// "&caseReference=" +
|
||||
// encodeURI(caseReference)
|
||||
// );
|
||||
|
||||
return axios
|
||||
.get(
|
||||
BASE_URL +
|
||||
@@ -1033,6 +1034,7 @@ export const getPortalModuleDetails = (appealType, caseReference) => {
|
||||
)
|
||||
.then((res) => res.data)
|
||||
.catch((error) => {
|
||||
console.log("error case ref:", caseReference);
|
||||
consoleLogger(error);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user