update jsonpath for csp fix
This commit is contained in:
@@ -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 +
|
||||
// "')]",
|
||||
|
||||
Reference in New Issue
Block a user