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 e288bc2 commit 50c0878Copy full SHA for 50c0878
src/material-experimental/tree/data-source/nested-data-source.ts
@@ -28,7 +28,7 @@ export class MatTreeNestedDataSource<T> implements DataSource<T> {
28
set data(value: T[]) { this._data.next(value); }
29
30
connect(collectionViewer: CollectionViewer): Observable<T[]> {
31
- return merge([collectionViewer.viewChange, this._data])
+ return merge(...[collectionViewer.viewChange, this._data])
32
.pipe(map(() => {
33
return this.data;
34
}));
0 commit comments