From 806f392ba571a00e96812d290af127ed3d229315 Mon Sep 17 00:00:00 2001 From: abradat Date: Thu, 6 Jun 2024 09:30:12 -0700 Subject: [PATCH] Fix attached document going not applicable after opening and closing edit dialog --- .../shared/owner-dialogs/owner-dialog/owner-dialog.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/portal-frontend/src/app/shared/owner-dialogs/owner-dialog/owner-dialog.component.ts b/portal-frontend/src/app/shared/owner-dialogs/owner-dialog/owner-dialog.component.ts index 5616bbe500..8e6ccf10ac 100644 --- a/portal-frontend/src/app/shared/owner-dialogs/owner-dialog/owner-dialog.component.ts +++ b/portal-frontend/src/app/shared/owner-dialogs/owner-dialog/owner-dialog.component.ts @@ -180,6 +180,8 @@ export class OwnerDialogComponent { let document; if (this.pendingFile) { document = await this.uploadPendingFile(this.pendingFile); + } else { + document = this.data.existingOwner?.corporateSummary; } const orgName = this.type.value === OWNER_TYPE.ORGANIZATION ? this.organizationName.getRawValue() : null;