added signin workaround for dev
This commit is contained in:
+17
-12
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user