added signin workaround for dev

This commit is contained in:
2023-07-27 14:05:45 +01:00
parent daa8b1c96d
commit dcf220198d
4 changed files with 31 additions and 24 deletions
+17 -12
View File
@@ -188,7 +188,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
const accountDetails = await getPersonalAccount(loggedInUser);
console.log("----------", accountDetails);
//console.log("----------", accountDetails);
const lpaid =
accountDetails[
@@ -300,7 +300,7 @@ const getDetails = (resultsObj, detailsType) => {
resultsObj = resultsObj.value;
if (detailsType == "myRepresentations") {
const repsObj = resultsObj.map((searchDetail, index) => {
console.log(".......... ", searchDetail);
//console.log(".......... ", searchDetail);
detailsArr.push(
getCase(searchDetail["incidentID"]).then((data) => {
let caseID = "";
@@ -360,17 +360,22 @@ 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(
"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
"=====================================\n",
detailsType + "\n",
"=====================================\n"
);
} else {
detailsArr.push(