Skip to content

Commit

Permalink
Revert "debugging rxjs"
Browse files Browse the repository at this point in the history
This reverts commit ebfa0e6.
  • Loading branch information
zarend committed Sep 26, 2023
1 parent ebfa0e6 commit 38e48c7
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions src/cdk/tree/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,16 +399,12 @@ export class CdkTree<T, K = T>
this._nodeType,
// NB: the data is unused below, however we add it here to essentially
// trigger data rendering when expansion changes occur.
//
// TODO: remove debug code and comments
// Temporarily commenting this out to debug a test failure
//
// expansionModel.changed.pipe(
// startWith(null),
// tap(expansionChanges => {
// this._emitExpansionChanges(expansionChanges);
// }),
// ),
expansionModel.changed.pipe(
startWith(null),
tap(expansionChanges => {
this._emitExpansionChanges(expansionChanges);
}),
),
])
.pipe(
switchMap(([data, nodeType]) => {
Expand Down

0 comments on commit 38e48c7

Please sign in to comment.