Skip to content

Commit 4d46a4f

Browse files
4manasamashmtumms2021389
authored
submit API is failing due to incorrect payload issue fixed (#236)
Co-authored-by: mashm <[email protected]> Co-authored-by: tumms2021389 <[email protected]>
1 parent 4110f70 commit 4d46a4f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/angular-sdk-components/src/lib/_components/template/default-form/default-form.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,9 @@ export class DefaultFormComponent implements OnInit {
7373
// normalize them
7474
this.arChildren$ = ReferenceComponent.normalizePConnArray(kids[0].getPConnect().getChildren());
7575
}
76+
77+
ngOnDestroy(): void {
78+
// Clean up
79+
PCore.getContextTreeManager().removeContextTreeNode(this.pConn$.getContextName());
80+
}
7681
}

0 commit comments

Comments
 (0)