mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-18 01:41:27 +01:00
[EC-669] Hide Clone context menu item for items that belong to an organization (#4552)
This commit is contained in:
parent
68839631e5
commit
bf1df6ebf6
@ -274,6 +274,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
this.editCipher(cipher);
|
||||
}),
|
||||
});
|
||||
if (!cipher.organizationId) {
|
||||
menu.push({
|
||||
label: this.i18nService.t("clone"),
|
||||
click: () =>
|
||||
@ -282,6 +283,7 @@ export class VaultComponent implements OnInit, OnDestroy {
|
||||
}),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
switch (cipher.type) {
|
||||
case CipherType.Login:
|
||||
|
Loading…
Reference in New Issue
Block a user