Skip to content

Commit

Permalink
fix: cannot open ContextMenu in the editors in the TransformModal
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong committed Jul 25, 2024
1 parent 5cd970d commit a54474e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/modes/tablemode/TableMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@
onRemoveRow: handleRemoveRow
})
const items = onRenderContextMenu(defaultItems)
const items = onRenderContextMenu(defaultItems) ?? defaultItems
if (items === false) {
return
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/modes/treemode/TreeMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,7 @@
onTransform: handleTransformSelection
})
const items = onRenderContextMenu(defaultItems)
const items = onRenderContextMenu(defaultItems) ?? defaultItems
if (items === false) {
return
Expand Down

0 comments on commit a54474e

Please sign in to comment.