File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -399,16 +399,12 @@ export class CdkTree<T, K = T>
399
399
this . _nodeType ,
400
400
// NB: the data is unused below, however we add it here to essentially
401
401
// 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
+ ) ,
412
408
] )
413
409
. pipe (
414
410
switchMap ( ( [ data , nodeType ] ) => {
You can’t perform that action at this time.
0 commit comments