Skip to content

Commit 38e48c7

Browse files
committed
Revert "debugging rxjs"
This reverts commit ebfa0e6.
1 parent ebfa0e6 commit 38e48c7

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

src/cdk/tree/tree.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -399,16 +399,12 @@ export class CdkTree<T, K = T>
399399
this._nodeType,
400400
// NB: the data is unused below, however we add it here to essentially
401401
// trigger data rendering when expansion changes occur.
402-
//
403-
// TODO: remove debug code and comments
404-
// Temporarily commenting this out to debug a test failure
405-
//
406-
// expansionModel.changed.pipe(
407-
// startWith(null),
408-
// tap(expansionChanges => {
409-
// this._emitExpansionChanges(expansionChanges);
410-
// }),
411-
// ),
402+
expansionModel.changed.pipe(
403+
startWith(null),
404+
tap(expansionChanges => {
405+
this._emitExpansionChanges(expansionChanges);
406+
}),
407+
),
412408
])
413409
.pipe(
414410
switchMap(([data, nodeType]) => {

0 commit comments

Comments
 (0)