decopled crm for new appeals - all made on storage
This commit is contained in:
@@ -243,7 +243,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
query.casereference
|
||||
);
|
||||
|
||||
// console.log("/////////\nappeal type data:", appealTypeData);
|
||||
//console.log("/////////\nappeal type data:", appealTypeData);
|
||||
|
||||
//
|
||||
// Removed to make progress from Blob not CRM
|
||||
@@ -295,9 +295,10 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
store.dispatch(setCaseReference(caseReference));
|
||||
store.dispatch(setForm(xmlStr, mandatoryFieldsData, pickListData));
|
||||
store.dispatch(setAppealType(appealTypeData));
|
||||
store.dispatch(setFilesForAppeal(blobList));
|
||||
store.dispatch(setContainerID(thisSession.user.id));
|
||||
|
||||
store.dispatch(setFilesForAppeal(blobList));
|
||||
|
||||
return {
|
||||
props: { url: process.env.API_ROOT },
|
||||
};
|
||||
|
||||
@@ -198,6 +198,12 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
await getAwaitingSubmissionFromBlob(thisSession.user.id),
|
||||
]);
|
||||
|
||||
// console.log(
|
||||
// "/////////////////////////\n ",
|
||||
// awaitingSubmissionFromBlob.value,
|
||||
// awaitingSubmissionFromBlob.case
|
||||
// );
|
||||
|
||||
if (_.has(accountDetails, "errorCode") != false) {
|
||||
return {
|
||||
redirect: {
|
||||
@@ -234,7 +240,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
);
|
||||
|
||||
store.dispatch(
|
||||
setAwaitingSubmissionDetails(awaitingSubmissionDetails)
|
||||
setAwaitingSubmissionDetails(awaitingSubmissionFromBlob)
|
||||
);
|
||||
store.dispatch(setContainerID(thisSession.user.id));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user