changes sandbox: {} to eval: true, caused errors in evaluated queries
This commit is contained in:
@@ -160,7 +160,7 @@ const DocumentDetails = (props) => {
|
||||
? jsonpath({
|
||||
path: '$..[?(@.value=="All")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: "All"}
|
||||
</option>
|
||||
@@ -179,7 +179,7 @@ const DocumentDetails = (props) => {
|
||||
item.pinswg_isharedocumentlocationsLabel +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: item.pinswg_isharedocumentlocationsLabel ||
|
||||
t(
|
||||
@@ -735,7 +735,7 @@ const DocumentDetails = (props) => {
|
||||
incidentid +
|
||||
"')]",
|
||||
json: item,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
});
|
||||
detailsObj = item;
|
||||
return (
|
||||
@@ -830,7 +830,7 @@ const DocumentDetails = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: detailsObj[
|
||||
"pinswg_isharedocumentlocations@OData.Community.Display.V1.FormattedValue"
|
||||
|
||||
Reference in New Issue
Block a user