mirror of
https://github.com/bitwarden/browser
synced 2026-02-11 22:13:32 +00:00
[PM-31732] Fix issue with user flow from vault-item-dialog
This commit is contained in:
@@ -524,11 +524,12 @@ export class VaultItemDialogComponent implements OnInit, OnDestroy {
|
||||
|
||||
const dialogRef = this.dialogService.open<
|
||||
AttachmentDialogCloseResult,
|
||||
{ cipherId: CipherId; organizationId?: OrganizationId }
|
||||
{ cipherId: CipherId; organizationId?: OrganizationId; canEditCipher?: boolean }
|
||||
>(AttachmentsV2Component, {
|
||||
data: {
|
||||
cipherId: this.formConfig.originalCipher?.id as CipherId,
|
||||
organizationId: this.formConfig.originalCipher?.organizationId as OrganizationId,
|
||||
canEditCipher: this.formConfig.originalCipher?.edit,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user