1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

[PM-21719] update desktop to address personal items who cant assign to collections (#15369)

This commit is contained in:
Jason Ng
2025-06-27 15:49:49 -04:00
committed by GitHub
parent 029713fe28
commit 7a1bb81c5f

View File

@@ -482,7 +482,9 @@ export class VaultV2Component implements OnInit, OnDestroy, CopyClickListener {
});
}
if (cipher.canAssignToCollections) {
const hasEditableCollections = this.allCollections.some((collection) => !collection.readOnly);
if (cipher.canAssignToCollections && hasEditableCollections) {
menu.push({
label: this.i18nService.t("assignToCollections"),
click: () =>