Skip to content

Commit

Permalink
Fix individual type corporate summary file issue after edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Abradat committed Jun 6, 2024
1 parent c1794ce commit a0bef28
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ export class OwnerDialogComponent {
if (this.form.valid) {
this.isLoading = true;

if (this.type.value === OWNER_TYPE.INDIVIDUAL) {
this.removeCorporateSummary();
}

let document;
if (this.pendingFile) {
document = await this.uploadPendingFile(this.pendingFile);
Expand Down

0 comments on commit a0bef28

Please sign in to comment.