We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e9b282 commit 04c91fcCopy full SHA for 04c91fc
src/cdk/tree/nested-node.ts
@@ -79,8 +79,11 @@ export class CdkNestedTreeNode<T, K = T>
79
} else if (isObservable(childrenNodes)) {
80
childrenNodes
81
.pipe(takeUntil(this._destroyed))
82
- .subscribe(() => this.updateChildrenNodes());
+ .subscribe(result => this.updateChildrenNodes(result));
83
}
84
+ this.nodeOutlet.changes
85
+ .pipe(takeUntil(this._destroyed))
86
+ .subscribe(() => this.updateChildrenNodes());
87
88
89
// This is a workaround for https://github.com/angular/angular/issues/23091
0 commit comments