Skip to content

Commit

Permalink
show bulk move is set by individual vault and it is needed so assign …
Browse files Browse the repository at this point in the history
…to collections does not show up in trash filter
  • Loading branch information
gbubemismith committed Jun 28, 2024
1 parent 22e6838 commit be6d24d
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class VaultItemsComponent {
}

get bulkAssignToCollectionsAllowed() {
return this.showBulkAddToCollections && this.showBulkMove && this.ciphers.length > 0;
return this.showBulkAddToCollections && this.ciphers.length > 0;
}

// Use new bulk management delete if vaultBulkManagementActionEnabled feature flag is enabled
Expand Down Expand Up @@ -266,6 +266,10 @@ export class VaultItemsComponent {
}

protected showAssignToCollections(): boolean {
if (!this.showBulkMove) {
return false;
}

if (this.selection.selected.length === 0) {
return true;
}
Expand Down

0 comments on commit be6d24d

Please sign in to comment.