Skip to content

Commit 36019ce

Browse files
jlipkagithub-actions[bot]
authored andcommitted
fix: call parent ngOnDestroy in dynamic form control container
(cherry picked from commit 4d803a5)
1 parent f8a7170 commit 36019ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ export class DsDynamicFormControlContainerComponent extends DynamicFormControlCo
440440
* Unsubscribe from all subscriptions
441441
*/
442442
ngOnDestroy(): void {
443+
super.ngOnDestroy();
443444
this.subs
444445
.filter((sub) => hasValue(sub))
445446
.forEach((sub) => sub.unsubscribe());

0 commit comments

Comments
 (0)