added ticketnumber props to footer component
This commit is contained in:
@@ -79,7 +79,7 @@ const CaseHome = (props) => {
|
||||
showLoginCheck={props.currentView.showLogin}
|
||||
/>
|
||||
</div>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
<Footer footerLinks={footerLinks} ticketnumber={props} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
@@ -138,6 +138,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
||||
} else {
|
||||
store.dispatch(
|
||||
setCurrentReference({
|
||||
"ticketnumber": searchResultsObj.value[0].ticketnumber,
|
||||
"currentReference": searchResultsObj.value[0].title,
|
||||
"currentType": "searchResultsObj",
|
||||
"incidentid": searchResultsObj.value[0].incidentid,
|
||||
|
||||
@@ -142,7 +142,7 @@ const Home = (props) => {
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
<Footer footerLinks={footerLinks} ticketnumber={props} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -46,7 +46,7 @@ const ApplicationView = (props) => {
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
<Footer footerLinks={footerLinks} ticketnumber={props} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -43,7 +43,7 @@ const Applications = (props) => {
|
||||
<ApplicationList />
|
||||
</main>
|
||||
</div>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
<Footer footerLinks={footerLinks} ticketnumber={props} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -146,7 +146,7 @@ const Home = (props) => {
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
<Footer footerLinks={footerLinks} ticketnumber={props} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
+2
-4
@@ -52,9 +52,7 @@ const Home = (props) => {
|
||||
</p>
|
||||
<h2 className="govuk-heading-s">
|
||||
<Link href="#" className="govuk-link">
|
||||
|
||||
Terms and conditions
|
||||
|
||||
Terms and conditions
|
||||
</Link>
|
||||
</h2>
|
||||
<p>
|
||||
@@ -115,7 +113,7 @@ const Home = (props) => {
|
||||
</div>
|
||||
</main>{" "}
|
||||
</div>
|
||||
<Footer footerLinks={footerLinks} />
|
||||
<Footer footerLinks={footerLinks} ticketnumber={props} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user