From 49418becf28a0579ce993990034edc4f51e023aa Mon Sep 17 00:00:00 2001 From: rdbsolutions Date: Wed, 15 Jan 2025 09:22:23 +0000 Subject: [PATCH] uat defect 131 link in new tab --- components/case/representation/index.js | 19 +++++++++++-------- .../representationCompleteSubmit.js | 13 ++++++++----- pages/_document.js | 2 +- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/components/case/representation/index.js b/components/case/representation/index.js index 0071b180..72cb6c73 100644 --- a/components/case/representation/index.js +++ b/components/case/representation/index.js @@ -1189,14 +1189,17 @@ let MakeRepresentation = (props) => { // delete dataObj[key]; // } - uploadRepFiles( - dataObj, - fileListObj, - values.containerID, - props.caseReference + "/" + dataObj.repfile_name - ).then((data) => { - return data; - }); + // may need to delete + // No sure if this is needed anymore,...... + + // uploadRepFiles( + // dataObj, + // [{}], + // values.containerID, + // props.caseReference + "/" + dataObj.repfile_name + // ).then((data) => { + // return data; + // }); }; const repForm = props.props.form; diff --git a/components/case/representation/representationCompleteSubmit.js b/components/case/representation/representationCompleteSubmit.js index 6f6bb69f..9208d995 100644 --- a/components/case/representation/representationCompleteSubmit.js +++ b/components/case/representation/representationCompleteSubmit.js @@ -251,7 +251,7 @@ const RepCompleteSubmit = (props) => {
- { @@ -261,11 +261,11 @@ const RepCompleteSubmit = (props) => { {t("common:change-link-label")} {" "} - {/* {FieldsTranslations( + {FieldsTranslations( rows[0].value - )} */} + )} - + */}
{_.has( @@ -456,7 +456,10 @@ const RepCompleteSubmit = (props) => { {t( "myrepresentations:rep-check-tandc-para-two" )}{" "} - + {t( "common:footer-privacy-notice-link-label" )} diff --git a/pages/_document.js b/pages/_document.js index 00c858b9..71b93947 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -42,7 +42,7 @@ class MyDocument extends Document { csp += `form-action 'self' ` + process.env.NEXTAUTH_URL + ` ;`; csp += `object-src 'self' data:;`; csp += `default-src 'self' https://www.google-analytics.com;`; - csp += `connect-src 'self' http://127.0.0.1 https://maps.googleapis.com https://ukwest-0.in.applicationinsights.azure.com https://js.monitor.azure.com https://region1.google-analytics.com;`; + csp += `connect-src 'self' http://127.0.0.1 https://maps.googleapis.com https://uksouth-1.in.applicationinsights.azure.com https://ukwest-0.in.applicationinsights.azure.com https://js.monitor.azure.com https://region1.google-analytics.com;`; csp += `script-src 'self' 'unsafe-eval' 'unsafe-inline' https://maps.googleapis.com https://ukwest-0.in.applicationinsights.azure.com https://region1.google-analytics.com https://www.google-analytics.com/ https://tagmanager.google.com/ https://www.googletagmanager.com/;`; csp += `style-src 'self' 'unsafe-inline' https://pro.fontawesome.com/ https://www.google-analytics.com https://tagmanager.google.com/ https://www.googletagmanager.com/ https://fonts.googleapis.com/;`; csp += `img-src 'self' 'unsafe-inline' https://maps.gstatic.com https://maps.googleapis.com https://www.gov.wales https://gov.wales https://fonts.gstatic.com https://www.googletagmanager.com https://www.google-analytics.com https://ssl.gstatic.com/ blob: data:;`;