Merged PR 2368: case stage ROW updates and case closed variants and adv search fix

Related work items: #23551, #23555, #23559
This commit is contained in:
Robert Bond
2026-06-03 12:44:59 +00:00
parent a9be19b901
commit d0cae0fff1
9 changed files with 160 additions and 33 deletions
+4 -4
View File
@@ -223,13 +223,13 @@ export const getServerSideProps = wrapper.getServerSideProps(
"showLoginCheck": true,
"specialistProcess":
searchDetailsObj[0].value[0]
.pinswg_speacialistcaseprocess != null ||
?.pinswg_speacialistcaseprocess != null ||
searchDetailsObj[0].value[0]
.pinswg_specialistcaseprocess != null
?.pinswg_specialistcaseprocess != null
? searchDetailsObj[0].value[0]
.pinswg_speacialistcaseprocess ||
?.pinswg_speacialistcaseprocess ||
searchDetailsObj[0].value[0]
.pinswg_specialistcaseprocess
?.pinswg_specialistcaseprocess
: ""
})
);
+16 -8
View File
@@ -24,9 +24,10 @@ import {
setLoggedInUserId
} from "../../store/accountDetails/action";
import { setAppealType, setProjectType } from "../../store/appealType/action";
import { setLPA } from "../../store/lpa/action";
import { setLPA, setCaseStatus } from "../../store/lpa/action";
import { wrapper } from "../../store/store";
import ServiceBanner from "../../components/myportal/servicebanner";
import { getCaseStatus } from "../../actions/services/caseDirectService";
const Home = (props) => {
const { footerLinks, pages } = props;
@@ -95,13 +96,19 @@ export const getServerSideProps = wrapper.getServerSideProps(
}
};
} else {
const [accountDetails, appealTypeData, lpaData, projectTypeData] =
await Promise.all([
await getPersonalAccount(loggedInUser),
await getAppealsTypes(),
await getLPA(),
await getProjectTypes()
]);
const [
accountDetails,
appealTypeData,
lpaData,
projectTypeData,
caseStatusObj
] = await Promise.all([
await getPersonalAccount(loggedInUser),
await getAppealsTypes(),
await getLPA(),
await getProjectTypes(),
await getCaseStatus()
]);
//const lpaData = require("../../data/lpa.json");
//const appealTypeData = require("../../data/appealtypes.json");
@@ -111,6 +118,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
store.dispatch(setProjectType(projectTypeData));
store.dispatch(setLPA(lpaData));
store.dispatch(setLoggedInUserId(loggedInUser));
store.dispatch(setCaseStatus(caseStatusObj));
thisSession != false &&
store.dispatch(setContainerID(thisSession.user.id));