update jsonpath for csp fix
This commit is contained in:
@@ -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 = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user