changes sandbox: {} to eval: true, caused errors in evaluated queries

This commit is contained in:
2025-04-15 17:25:14 +01:00
parent 854530e605
commit 87f0dcd811
55 changed files with 262 additions and 262 deletions
+2 -2
View File
@@ -130,7 +130,7 @@ let BuildCheckSection = (props) => {
let formObj = jsonpath({
path: "$['" + appealtypes + "']",
json: fieldLookup,
sandbox: {},
eval: true,
});
let labelTrans =
@@ -138,7 +138,7 @@ let BuildCheckSection = (props) => {
? jsonpath({
path: '$..[?(@.value=="' + label + '")].value_cy',
json: formObj,
sandbox: {},
eval: true,
})
: label;
return labelTrans;