1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-21 03:11:27 +02:00

added 3rd tooltip string to bulk access menu

This commit is contained in:
jng 2024-09-20 17:54:44 -04:00
parent f1b4783ab8
commit 64841029d6
No known key found for this signature in database
GPG Key ID: AF822623CAD19C85
2 changed files with 8 additions and 5 deletions

View File

@ -33,7 +33,9 @@
size="small"
type="button"
appA11yTitle="{{
(selection.selected.length < 1 ? 'nothingSelected' : 'options') | i18n
disableMenu
? ('missingPermissions' | i18n)
: ((selection.selected.length < 1 ? 'nothingSelected' : 'options') | i18n)
}}"
></button>
<bit-menu #headerMenu>

View File

@ -153,10 +153,11 @@ export class VaultItemsComponent {
get disableMenu() {
return (
this.vaultBulkManagementActionEnabled &&
!this.bulkMoveAllowed &&
!this.showAssignToCollections() &&
!this.showDelete()
(this.vaultBulkManagementActionEnabled &&
!this.bulkMoveAllowed &&
!this.showAssignToCollections() &&
!this.showDelete()) ||
(!this.canEditSelected && !this.canAssignSelected && !this.canDeleteSelected)
);
}