accessibility amends misc
This commit is contained in:
+3
-22
@@ -264,12 +264,12 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
const [
|
||||
myCasesDetails,
|
||||
watchedCasesDetails,
|
||||
awaitingSubmissionDetails,
|
||||
//awaitingSubmissionDetails,
|
||||
myRepresentationsDetails,
|
||||
] = await Promise.all([
|
||||
await getDetails(myCases, "myCases"),
|
||||
await getDetails(watchedCases, "myWatchedCases"),
|
||||
await getDetails(awaitingSubmission, "awaitingSubmission"),
|
||||
//await getDetails(awaitingSubmission, "awaitingSubmission"),
|
||||
await getDetails(myRepresentations, "myRepresentations"),
|
||||
]);
|
||||
|
||||
@@ -386,25 +386,7 @@ const getDetails = (resultsObj, detailsType) => {
|
||||
|
||||
//console.log(detailsType, " case id : ", caseID);
|
||||
|
||||
if (searchDetail.pinswg_appealcasetype == null) {
|
||||
// console.log(
|
||||
// "detailsObj:",
|
||||
// detailsType,
|
||||
// detailsType == "myCases" && searchDetail.pinswg_title,
|
||||
// detailsType == "myWatchedCases" &&
|
||||
// searchDetail[
|
||||
// "_pinswg_watchedcase_value@OData.Community.Display.V1.FormattedValue"
|
||||
// ],
|
||||
// detailsType == "awaitingSubmission" &&
|
||||
// searchDetail.ticketnumber,
|
||||
// detailsType == "myRepresentations" && searchDetail.casereference
|
||||
// );
|
||||
console.log(
|
||||
"=====================================\n",
|
||||
detailsType + "\n",
|
||||
"=====================================\n"
|
||||
);
|
||||
} else {
|
||||
searchDetail.pinswg_appealcasetype != null &&
|
||||
detailsArr.push(
|
||||
getPortalModuleDetails(
|
||||
getFormCollectionByID(searchDetail.pinswg_appealcasetype)
|
||||
@@ -417,7 +399,6 @@ const getDetails = (resultsObj, detailsType) => {
|
||||
// ]
|
||||
)
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
let detArr = Promise.all(detailsArr);
|
||||
|
||||
Reference in New Issue
Block a user