changes sandbox: {} to eval: true, caused errors in evaluated queries
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user