1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-28 02:23:25 +00:00

adds cipher edit permission to the attachments dialog in the vault-v3 (#19231) (#19232)

This commit is contained in:
Nick Krantz
2026-02-25 12:14:10 -06:00
committed by GitHub
parent 35229eb021
commit 5065b0cf22

View File

@@ -501,6 +501,7 @@ export class VaultComponent implements OnInit, OnDestroy, CopyClickListener {
}
const dialogRef = AttachmentsV2Component.open(this.dialogService, {
cipherId: this.cipherId as CipherId,
canEditCipher: this.cipher().edit,
});
const result = await firstValueFrom(dialogRef.closed).catch((): any => null);
if (