[PM-31732] Fix issue with user flow from vault-item-dialog (#18883)

(cherry picked from commit 6f1a618714)
pull/19036/head
Jackson Engstrom 1 week ago committed by GitHub
parent a23854aa3b
commit eba07b83e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save