Skip to content

Commit f9389d4

Browse files
[DURACOM-426] fix identifier for form removal
1 parent 15ff78d commit f9389d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/submission/sections/form/section-form.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ export class SubmissionSectionFormComponent extends SectionModelComponent implem
601601
ngOnDestroy(): void {
602602
super.ngOnDestroy();
603603
// Remove this model from formBulderService
604-
this.formBuilderService.removeFormModel(this.sectionData.id);
604+
this.formBuilderService.removeFormModel(this.formId);
605605
}
606606

607607
}

0 commit comments

Comments
 (0)