mirror of
https://github.com/bitwarden/browser
synced 2026-02-25 17:13:24 +00:00
Changes attachment modal to remove choose file button and changes upload button to close button if the user doesn't have edit rights to the cipher.
This commit is contained in:
@@ -925,6 +925,7 @@ export class VaultComponent<C extends CipherViewLike> implements OnInit, OnDestr
|
||||
const dialogRef = AttachmentsV2Component.open(this.dialogService, {
|
||||
cipherId: cipher.id as CipherId,
|
||||
organizationId: cipher.organizationId as OrganizationId,
|
||||
canEditCipher: cipher.edit,
|
||||
});
|
||||
|
||||
const result: AttachmentDialogCloseResult = await lastValueFrom(dialogRef.closed);
|
||||
|
||||
Reference in New Issue
Block a user