uodated queries to sort deep recursion

This commit is contained in:
2025-04-16 08:44:45 +01:00
parent 420501dbf1
commit d882e65071
54 changed files with 270 additions and 267 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ const RepresentationList = (props) => {
{representationsArr.map((item, key) => {
let detailsObj = jsonpath({
path:
"$..[?(@.pinswg_representationsid=='" +
"$..[?(@ && @.pinswg_representationsid=='" +
incidentid +
"')]",
json: item,
@@ -91,7 +91,7 @@ const RepresentationList = (props) => {
{router.locale == "cy"
? jsonpath({
path:
'$..[?(@.value=="' +
'$..[?(@ && @.value=="' +
detailsObj[
"pinswg_isharedocumentlocations@OData.Community.Display.V1.FormattedValue"
] +