update jsonpath for csp fix

This commit is contained in:
2025-04-15 12:59:27 +01:00
parent 1caab59c05
commit 05f791e6a8
57 changed files with 1585 additions and 1041 deletions
+6 -2
View File
@@ -148,7 +148,11 @@ export const AppealRow_pdf = (props) => {
const FieldsTranslations = (label) => {
const { appealtypes } = router.query;
let formObj = jsonpath("$['" + appealtypes + "']", fieldLookup);
let formObj = jsonpath({
path: "$['" + appealtypes + "']",
json: fieldLookup,
sandbox: {},
});
let labelTrans = label;
return labelTrans;
@@ -390,7 +394,7 @@ export const AppealRow_pdf = (props) => {
);
break;
case "{16D63FD6-119B-4353-BDCA-18358721C3FE}":
// const blobList = jsonpath(
// const blobList = jsonpath({path:
// "$..[?(@.documentType=='" +
// documentTypeCode[0].value +
// "')]",