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"
|
||||
|
||||
@@ -133,7 +133,7 @@ const RenderCaseStatusList = ({
|
||||
.statuscode +
|
||||
'")].value_cy',
|
||||
json: optionsObj,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: optionsObj[key].value ||
|
||||
t(
|
||||
@@ -248,7 +248,7 @@ let AdvancedSearch = (props) => {
|
||||
.name +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: optionsObj[key].name ||
|
||||
t(
|
||||
@@ -353,7 +353,7 @@ let AdvancedSearch = (props) => {
|
||||
.value +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: optionsObj[key].value ||
|
||||
t(
|
||||
|
||||
@@ -174,7 +174,7 @@ const DNSSearchResults = (props) => {
|
||||
whichIncident +
|
||||
"')]",
|
||||
json: watchedCases,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
});
|
||||
|
||||
return isWatched;
|
||||
@@ -303,7 +303,7 @@ const DNSSearchResults = (props) => {
|
||||
item.title +
|
||||
'")]',
|
||||
json: searchDetailsObj,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
});
|
||||
detailsObj = detailsObj[0];
|
||||
|
||||
@@ -466,7 +466,7 @@ const DNSSearchResults = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: detailsObj[
|
||||
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
|
||||
@@ -490,7 +490,7 @@ const DNSSearchResults = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: item[
|
||||
"statuscode@OData.Community.Display.V1.FormattedValue"
|
||||
|
||||
@@ -108,7 +108,7 @@ const SearchResults = (props) => {
|
||||
"')]",
|
||||
|
||||
json: watchedCases,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
});
|
||||
|
||||
return isWatched;
|
||||
@@ -248,7 +248,7 @@ const SearchResults = (props) => {
|
||||
item.title +
|
||||
'")]',
|
||||
json: searchDetailsObj,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
});
|
||||
|
||||
detailsObj = detailsObj[0] || {};
|
||||
@@ -445,7 +445,7 @@ const SearchResults = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: item[
|
||||
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
|
||||
@@ -468,7 +468,7 @@ const SearchResults = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: item[
|
||||
"pinswg_appealcasetype@OData.Community.Display.V1.FormattedValue"
|
||||
@@ -491,7 +491,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