linked watched cases for all personnas
This commit is contained in:
@@ -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" +
|
||||
|
||||
@@ -89,6 +89,7 @@ const mapStateToProps = (state) => {
|
||||
watchedCases: state.watchedCases,
|
||||
myRepresentations: state.myRepresentations,
|
||||
awaitingSubmission: state.awaitingSubmission,
|
||||
showLoginCheck: process.env.SHOWLOGIN || false,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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} />
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user