Skip to content

Commit

Permalink
BUG-703: hitting backspace with no selections wrongly pops the delete…
Browse files Browse the repository at this point in the history
… modal
  • Loading branch information
jobelenus committed Dec 18, 2024
1 parent 47f07c7 commit 6eb401e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/web/src/components/ModelingView/DeleteSelectionModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ const allErasableViews = computed(() => {
);
return (
allViews &&
erasableViews.value.length === viewStore.selectedComponents.length
erasableViews.value.length === viewStore.selectedComponents.length &&
viewStore.selectedComponents.length > 0
);
});
Expand Down

0 comments on commit 6eb401e

Please sign in to comment.