1
0
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:
Jackson Engstrom
2026-02-10 11:46:03 -08:00
committed by GitHub
parent 341de2c378
commit 6f1a618714

View File

@@ -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,
},
});