File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/material-experimental/tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export class MatTreeNestedDataSource<T> implements DataSource<T> {
2828 set data ( value : T [ ] ) { this . _data . next ( value ) ; }
2929
3030 connect ( collectionViewer : CollectionViewer ) : Observable < T [ ] > {
31- return merge ( [ collectionViewer . viewChange , this . _data ] )
31+ return merge ( ... [ collectionViewer . viewChange , this . _data ] )
3232 . pipe ( map ( ( ) => {
3333 return this . data ;
3434 } ) ) ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ This tree builds on the foundation of the CDK tree and uses a similar interface
55data source input and template, except that its element and attribute selectors will be prefixed
66with ` mat- ` instead of ` cdk- ` .
77
8- There are two types of trees: Flat tree and Nested Tree . The DOM structures are different for these
8+ There are two types of trees: Flat tree and nested tree . The DOM structures are different for these
99two types of trees.
1010
1111#### Flat tree
You can’t perform that action at this time.
0 commit comments