Merge branch 'Development' into SIPS-Sprint-5-dev-merge-csp
This commit is contained in:
@@ -174,7 +174,7 @@ const DNSSearchResults = (props) => {
|
||||
const isWatchedCase = (whichIncident) => {
|
||||
let isWatched = jsonpath({
|
||||
path:
|
||||
"$..value[?(@._pinswg_watchedcase_value=='" +
|
||||
"$..value[?(@ && @._pinswg_watchedcase_value=='" +
|
||||
whichIncident +
|
||||
"')]",
|
||||
json: watchedCases,
|
||||
@@ -314,7 +314,7 @@ const DNSSearchResults = (props) => {
|
||||
resultsArr.map((item, key) => {
|
||||
let detailsObj = jsonpath({
|
||||
path:
|
||||
'$..value[?(@.pinswg_name=="' +
|
||||
'$..value[?(@ && @.pinswg_name=="' +
|
||||
item.title +
|
||||
'")]',
|
||||
json: searchDetailsObj,
|
||||
@@ -517,7 +517,7 @@ const DNSSearchResults = (props) => {
|
||||
? router.locale == "cy"
|
||||
? jsonpath({
|
||||
path:
|
||||
'$..[?(@.value=="' +
|
||||
'$..[?(@ && @.value=="' +
|
||||
detailsObj[
|
||||
"_pinswg_associatedlpa_value@OData.Community.Display.V1.FormattedValue"
|
||||
] +
|
||||
@@ -540,7 +540,7 @@ const DNSSearchResults = (props) => {
|
||||
{router.locale == "cy"
|
||||
? jsonpath({
|
||||
path:
|
||||
'$..[?(@.value=="' +
|
||||
'$..[?(@ && @.value=="' +
|
||||
item[
|
||||
"statuscode@OData.Community.Display.V1.FormattedValue"
|
||||
] +
|
||||
|
||||
Reference in New Issue
Block a user