filename changes to include case ref and cat code
This commit is contained in:
@@ -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 },
|
||||
};
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user