catch fix in view all
This commit is contained in:
@@ -523,9 +523,12 @@ const ViewAllResults = (props) => {
|
|||||||
? jsonpath({
|
? jsonpath({
|
||||||
path:
|
path:
|
||||||
'$..[?(@ && @.value=="' +
|
'$..[?(@ && @.value=="' +
|
||||||
searchDetailsObj[key].value[0][
|
(searchDetailsObj[key][
|
||||||
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValuee"
|
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
|
||||||
] +
|
] ||
|
||||||
|
searchDetailsObj[key]?.value[0][
|
||||||
|
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
|
||||||
|
]) +
|
||||||
'")].value_cy',
|
'")].value_cy',
|
||||||
json: transLookup,
|
json: transLookup,
|
||||||
eval: true
|
eval: true
|
||||||
@@ -544,7 +547,7 @@ const ViewAllResults = (props) => {
|
|||||||
path:
|
path:
|
||||||
'$..[?(@ && @.value=="' +
|
'$..[?(@ && @.value=="' +
|
||||||
resultItem[
|
resultItem[
|
||||||
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValuee"
|
"_pinswg_localplanningauthority_value@OData.Community.Display.V1.FormattedValue"
|
||||||
] +
|
] +
|
||||||
'")].value_cy',
|
'")].value_cy',
|
||||||
json: transLookup,
|
json: transLookup,
|
||||||
|
|||||||
Reference in New Issue
Block a user