uodated queries to sort deep recursion
This commit is contained in:
@@ -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"
|
||||
] +
|
||||
|
||||
Reference in New Issue
Block a user