fix: codemirror crashing due to cursor not updating (#4151)

fix: cursor not updating while filtering
This commit is contained in:
Nivedin
2024-07-02 13:41:20 +05:30
committed by GitHub
parent 2917d50c6a
commit fe79c47d1f
2 changed files with 7 additions and 14 deletions

View File

@@ -307,8 +307,8 @@ const jsonResponseBodyText = computed(() => {
() =>
JSONPath({
path: filterQueryText.value,
json: parsedJSON,
}) as undefined,
json: parsedJSON as any,
}),
(err): BodyParseError => ({
type: "JSON_PATH_QUERY_FAILED",
error: err as Error,