From bb49a1fb7e6de652a1cff669d0316ac0ef555952 Mon Sep 17 00:00:00 2001 From: abradat Date: Thu, 10 Oct 2024 14:01:02 -0700 Subject: [PATCH] Remove isExpanded from NARU existing and proposed residence JSONB columns --- .../proposal/naru-proposal/naru-proposal.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/portal-frontend/src/app/features/applications/edit-submission/proposal/naru-proposal/naru-proposal.component.ts b/portal-frontend/src/app/features/applications/edit-submission/proposal/naru-proposal/naru-proposal.component.ts index a65b6f363..31dc7d862 100644 --- a/portal-frontend/src/app/features/applications/edit-submission/proposal/naru-proposal/naru-proposal.component.ts +++ b/portal-frontend/src/app/features/applications/edit-submission/proposal/naru-proposal/naru-proposal.component.ts @@ -336,8 +336,8 @@ export class NaruProposalComponent extends FilesStepComponent implements OnInit, naruToPlaceArea: this.fillTableData.area ?? null, naruInfrastructure: infrastructure, naruLocationRationale: locationRationale, - naruExistingResidences: this.existingResidences.map(({ id, ...rest }) => rest), - naruProposedResidences: this.proposedResidences.map(({ id, ...rest }) => rest), + naruExistingResidences: this.existingResidences.map(({ id, isExpanded, ...rest }) => rest), + naruProposedResidences: this.proposedResidences.map(({ id, isExpanded, ...rest }) => rest), }; const updatedApp = await this.applicationSubmissionService.updatePending(this.submissionUuid, updateDto); this.$applicationSubmission.next(updatedApp);