Skip to content

Commit 668ea06

Browse files
author
Jeffrey Biles
committed
Fix minor bug where screen with no emails showed them "all" selected
1 parent 11215a7 commit 668ea06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/BulkActionBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
return emailSelection.emails.size;
4343
})
4444
let allAreSelected = computed(() => {
45-
return props.emails.length == numberSelected.value;
45+
return props.emails.length == numberSelected.value && numberSelected.value !== 0;
4646
})
4747
let partialSelection = computed(() => {
4848
return numberSelected.value > 0 && !allAreSelected.value;

0 commit comments

Comments
 (0)