mirror of
https://github.com/bitwarden/browser
synced 2026-02-27 01:53:23 +00:00
[PM29951] add archive flag check to desktop vault-v2 (#18056)
This commit is contained in:
committed by
jaasen-livefront
parent
a54a4b0dad
commit
032b6e9fa0
@@ -565,7 +565,7 @@ export class VaultV2Component<C extends CipherViewLike>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!cipher.organizationId && !cipher.isDeleted && !cipher.isArchived) {
|
if (userCanArchive && !cipher.isDeleted && !cipher.isArchived) {
|
||||||
menu.push({
|
menu.push({
|
||||||
label: this.i18nService.t("archiveVerb"),
|
label: this.i18nService.t("archiveVerb"),
|
||||||
click: async () => {
|
click: async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user