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