uat defect 131 link in new tab

This commit is contained in:
2025-01-15 09:22:23 +00:00
parent 9c2519f2ce
commit 49418becf2
3 changed files with 20 additions and 14 deletions
+11 -8
View File
@@ -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;
@@ -251,7 +251,7 @@ const RepCompleteSubmit = (props) => {
</dd>
<dd className="govuk-summary-list__actions">
<a
{/* <a
className="govuk-link"
href="#"
onClick={() => {
@@ -261,11 +261,11 @@ const RepCompleteSubmit = (props) => {
{t("common:change-link-label")}
<span className="govuk-visually-hidden">
{" "}
{/* {FieldsTranslations(
{FieldsTranslations(
rows[0].value
)} */}
)}
</span>
</a>
</a> */}
</dd>
</div>
{_.has(
@@ -456,7 +456,10 @@ const RepCompleteSubmit = (props) => {
{t(
"myrepresentations:rep-check-tandc-para-two"
)}{" "}
<Link href={t("common:footer-privacy-link")}>
<Link
href={t("common:footer-privacy-link")}
target="_blank"
>
{t(
"common:footer-privacy-notice-link-label"
)}
+1 -1
View File
@@ -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:;`;