Skip to content

Commit c186423

Browse files
authored
Merge pull request #4707 from DSpace/backport-4644-to-dspace-7_x
[Port dspace-7_x] fix: call parent ngOnDestroy in dynamic form control container
2 parents 90a1ca6 + 826157c commit c186423

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
@@ -486,6 +486,7 @@ export class DsDynamicFormControlContainerComponent extends DynamicFormControlCo
486486
* Unsubscribe from all subscriptions
487487
*/
488488
ngOnDestroy(): void {
489+
super.ngOnDestroy();
489490
this.subs
490491
.filter((sub) => hasValue(sub))
491492
.forEach((sub) => sub.unsubscribe());

0 commit comments

Comments
 (0)