changes sandbox: {} to eval: true, caused errors in evaluated queries
This commit is contained in:
@@ -275,7 +275,7 @@ const TopThree = (props) => {
|
||||
showTopThreeArr[key].representationType +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: showTopThreeArr[key].representationType || ""}
|
||||
</div>
|
||||
@@ -293,7 +293,7 @@ const TopThree = (props) => {
|
||||
.representationCapacity +
|
||||
'" )].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: jsonpath({
|
||||
path:
|
||||
@@ -302,7 +302,7 @@ const TopThree = (props) => {
|
||||
.representationCapacity +
|
||||
'")].value',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
}).length > 0
|
||||
? jsonpath({
|
||||
path:
|
||||
@@ -311,7 +311,7 @@ const TopThree = (props) => {
|
||||
.representationCapacity +
|
||||
'")].value',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: showTopThreeArr[key].representationCapacity}
|
||||
</div>
|
||||
@@ -333,7 +333,7 @@ const TopThree = (props) => {
|
||||
] +
|
||||
'")].value_cy',
|
||||
json: transLookup,
|
||||
sandbox: {},
|
||||
eval: true,
|
||||
})
|
||||
: showTopThreeArr[key][
|
||||
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
|
||||
|
||||
Reference in New Issue
Block a user