linked watched cases for all personnas

This commit is contained in:
2024-02-02 12:30:18 +00:00
parent c3a4b4bb10
commit 87019693e2
23 changed files with 273 additions and 353 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ import { other_pdf } from "../../../components/pdftemplates/other_pdf";
export default function handler(req, res) {
var checkHash = req.query.hash;
let reqBodyobj = JSON.parse(req.body);
let reqBodyobj = req.body; //JSON.parse(req.body);
console.log(
"//////////////////////\nreqBodyobj" +
+1
View File
@@ -89,6 +89,7 @@ const mapStateToProps = (state) => {
watchedCases: state.watchedCases,
myRepresentations: state.myRepresentations,
awaitingSubmission: state.awaitingSubmission,
showLoginCheck: process.env.SHOWLOGIN || false,
};
};
+3 -1
View File
@@ -81,7 +81,9 @@ const Home = (props) => {
props.searchResultsObj.representationsObj
}
showRepresentations={showRepresentations}
showLoginCheck={props.currentView.showLogin}
showLoginCheck={
props.currentView.caseReference.showLogin
}
/>
</div>
<Footer footerLinks={footerLinks} />
+3
View File
@@ -56,6 +56,7 @@ const Home = (props) => {
awaitingSubmission,
accountDetails,
showFileUpload,
showLoginCheck,
} = props;
let { t, lang } = useTranslation();
@@ -146,6 +147,7 @@ const Home = (props) => {
accountDetails={accountDetails}
showFileUpload={showFileUpload}
containerID={accountDetails.containerID}
showLoginCheck={showLoginCheck}
/>
</div>
<Footer footerLinks={footerLinks} />
@@ -288,6 +290,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
props: {
showFileUpload: process.env.SHOWFILEUPLOAD,
containerID: thisSession.user.id,
showLoginCheck: process.env.SHOWLOGIN,
},
};
}