uat defect 131 link in new tab
This commit is contained in:
@@ -1189,14 +1189,17 @@ let MakeRepresentation = (props) => {
|
|||||||
// delete dataObj[key];
|
// delete dataObj[key];
|
||||||
// }
|
// }
|
||||||
|
|
||||||
uploadRepFiles(
|
// may need to delete
|
||||||
dataObj,
|
// No sure if this is needed anymore,......
|
||||||
fileListObj,
|
|
||||||
values.containerID,
|
// uploadRepFiles(
|
||||||
props.caseReference + "/" + dataObj.repfile_name
|
// dataObj,
|
||||||
).then((data) => {
|
// [{}],
|
||||||
return data;
|
// values.containerID,
|
||||||
});
|
// props.caseReference + "/" + dataObj.repfile_name
|
||||||
|
// ).then((data) => {
|
||||||
|
// return data;
|
||||||
|
// });
|
||||||
};
|
};
|
||||||
|
|
||||||
const repForm = props.props.form;
|
const repForm = props.props.form;
|
||||||
|
|||||||
@@ -251,7 +251,7 @@ const RepCompleteSubmit = (props) => {
|
|||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
<dd className="govuk-summary-list__actions">
|
<dd className="govuk-summary-list__actions">
|
||||||
<a
|
{/* <a
|
||||||
className="govuk-link"
|
className="govuk-link"
|
||||||
href="#"
|
href="#"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
@@ -261,11 +261,11 @@ const RepCompleteSubmit = (props) => {
|
|||||||
{t("common:change-link-label")}
|
{t("common:change-link-label")}
|
||||||
<span className="govuk-visually-hidden">
|
<span className="govuk-visually-hidden">
|
||||||
{" "}
|
{" "}
|
||||||
{/* {FieldsTranslations(
|
{FieldsTranslations(
|
||||||
rows[0].value
|
rows[0].value
|
||||||
)} */}
|
)}
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a> */}
|
||||||
</dd>
|
</dd>
|
||||||
</div>
|
</div>
|
||||||
{_.has(
|
{_.has(
|
||||||
@@ -456,7 +456,10 @@ const RepCompleteSubmit = (props) => {
|
|||||||
{t(
|
{t(
|
||||||
"myrepresentations:rep-check-tandc-para-two"
|
"myrepresentations:rep-check-tandc-para-two"
|
||||||
)}{" "}
|
)}{" "}
|
||||||
<Link href={t("common:footer-privacy-link")}>
|
<Link
|
||||||
|
href={t("common:footer-privacy-link")}
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
{t(
|
{t(
|
||||||
"common:footer-privacy-notice-link-label"
|
"common:footer-privacy-notice-link-label"
|
||||||
)}
|
)}
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ class MyDocument extends Document {
|
|||||||
csp += `form-action 'self' ` + process.env.NEXTAUTH_URL + ` ;`;
|
csp += `form-action 'self' ` + process.env.NEXTAUTH_URL + ` ;`;
|
||||||
csp += `object-src 'self' data:;`;
|
csp += `object-src 'self' data:;`;
|
||||||
csp += `default-src 'self' https://www.google-analytics.com;`;
|
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 += `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 += `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:;`;
|
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:;`;
|
||||||
|
|||||||
Reference in New Issue
Block a user