Skip to content

Commit

Permalink
fix: insert an object or array in tree mode in an empty document not …
Browse files Browse the repository at this point in the history
…working
  • Loading branch information
josdejong committed Mar 13, 2024
1 parent 2a067e1 commit 5382e1c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/components/modes/treemode/TreeMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -903,10 +903,6 @@
}
function handleInsert(insertType: InsertType): void {
if (json === undefined) {
return
}
onInsert({
insertType,
selectInside: true,
Expand Down

0 comments on commit 5382e1c

Please sign in to comment.