uodated queries to sort deep recursion
This commit is contained in:
@@ -69,7 +69,7 @@ let Home = (props) => {
|
||||
let optionsStr = props.appealType.appealTypeOptions.value;
|
||||
|
||||
let selectedObj = jsonpath({
|
||||
path: "$..[?(@.attributevalue=='" + router.query.apt + "')]",
|
||||
path: "$..[?(@ && @.attributevalue=='" + router.query.apt + "')]",
|
||||
json: optionsStr,
|
||||
eval: true,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user