update jsonpath for csp fix
This commit is contained in:
@@ -20,10 +20,11 @@ const RepLPADetails = (props) => {
|
||||
|
||||
var detailsObj = {};
|
||||
|
||||
detailsObj = jsonpath(
|
||||
'$..[?(@.pinswg_name=="' + caseReference + '")]',
|
||||
setCaseDetailsObj
|
||||
);
|
||||
detailsObj = jsonpath({
|
||||
path: '$..[?(@.pinswg_name=="' + caseReference + '")]',
|
||||
json: setCaseDetailsObj,
|
||||
sandbox: {},
|
||||
});
|
||||
|
||||
detailsObj = detailsObj[0];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user