filename changes to include case ref and cat code

This commit is contained in:
2022-06-21 12:09:03 +01:00
parent bd04900ff8
commit eb5d03a068
11 changed files with 128 additions and 35 deletions
+8
View File
@@ -51,6 +51,7 @@ const Home = (props) => {
awaitingSubmission,
accountDetails,
govGateway,
showFileUpload,
} = props;
let { t, lang } = useTranslation();
@@ -60,6 +61,8 @@ const Home = (props) => {
const { data: session } = useSession();
console.log("eeee", process.env.SHOWFILEUPLOAD);
return (
<div>
<Head>
@@ -140,6 +143,7 @@ const Home = (props) => {
awaitingSubmission={awaitingSubmission}
accountDetails={accountDetails}
ggLogout={govGateway.config.end_session_endpoint}
showFileUpload={showFileUpload}
/>
</div>
<Footer footerLinks={footerLinks} />
@@ -220,6 +224,10 @@ export const getServerSideProps = wrapper.getServerSideProps(
store.dispatch(
setAwaitingSubmissionDetails(awaitingSubmissionDetails)
);
return {
props: { showFileUpload: process.env.SHOWFILEUPLOAD },
};
}
}
);