changes sandbox: {} to eval: true, caused errors in evaluated queries
This commit is contained in:
@@ -101,7 +101,7 @@ const SearchResults = (props) => {
|
||||
whichIncident +
|
||||
"')]",
|
||||
json: watchedCases,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
});
|
||||
|
||||
return isWatched;
|
||||
@@ -252,7 +252,7 @@ const SearchResults = (props) => {
|
||||
'")]',
|
||||
|
||||
json: searchDetailsObj,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
});
|
||||
detailsObj = detailsObj[0];
|
||||
return (
|
||||
@@ -468,7 +468,7 @@ const SearchResults = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: item[
|
||||
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
|
||||
@@ -486,7 +486,7 @@ const SearchResults = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: item[
|
||||
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
|
||||
@@ -509,7 +509,7 @@ const SearchResults = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: item["pinswg_appealType"] ||
|
||||
"N/A"}
|
||||
@@ -531,7 +531,7 @@ const SearchResults = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: item[
|
||||
"statuscode@OData.Community.Display.V1.FormattedValue"
|
||||
|
||||
Reference in New Issue
Block a user