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
+5 -4
View File
@@ -68,10 +68,11 @@ let Home = (props) => {
let optionsStr = props.appealType.appealTypeOptions.value;
let selectedObj = jsonpath(
"$..[?(@.attributevalue=='" + router.query.apt + "')]",
optionsStr
);
let selectedObj = jsonpath({
path: "$..[?(@.attributevalue=='" + router.query.apt + "')]",
json: optionsStr,
sandbox: {},
});
//let optionsTitleObj = [];