update jsonpath for csp fix

This commit is contained in:
2025-04-15 12:59:27 +01:00
parent 1caab59c05
commit 05f791e6a8
57 changed files with 1585 additions and 1041 deletions
@@ -202,15 +202,17 @@ const AwaitingSubmissionFromBlob = (props) => {
<div className="cardModuleReference">
<b>{t("myportal:appeal-type-label")}:</b>{" "}
{router.locale == "cy"
? jsonpath(
'$..[?(@.value=="' +
? jsonpath({
path:
'$..[?(@.value=="' +
getFormCollectionByID(
showTopThreeArr[key]
.pinswg_appealcasetype
).value +
'")].value_cy',
transLookup
)
json: transLookup,
sandbox: {},
})
: getFormCollectionByID(
showTopThreeArr[key]
.pinswg_appealcasetype
@@ -293,14 +295,16 @@ const AwaitingSubmissionFromBlob = (props) => {
:
</b>
{router.locale == "cy"
? jsonpath(
'$..[?(@.value=="' +
? jsonpath({
path:
'$..[?(@.value=="' +
showTopThreeArr[key][
"pinswg_lpaname"
] +
'")].value_cy',
transLookup
)
json: transLookup,
sandbox: {},
})
: showTopThreeArr[key][
"pinswg_lpaname"
] || ""}