Skip to content

Commit 6f51e79

Browse files
authored
Merge pull request DSpace#4708 from DSpace/backport-4644-to-dspace-8_x
[Port dspace-8_x] fix: call parent ngOnDestroy in dynamic form control container
2 parents f8a7170 + 36019ce commit 6f51e79

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)