File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ export class MatTableDataSource<T> implements DataSource<T> {
50
50
get filter ( ) : string { return this . _filter . value ; }
51
51
52
52
/**
53
- * Instance of the MatSort directive used by the table to control its sorting. Sort changes emitted
54
- * by the MatSort will trigger an update to the table's rendered data.
53
+ * Instance of the MatSort directive used by the table to control its sorting. Sort changes
54
+ * emitted by the MatSort will trigger an update to the table's rendered data.
55
55
*/
56
56
set sort ( sort : MatSort | null ) {
57
57
this . _sort = sort ;
@@ -151,9 +151,9 @@ export class MatTableDataSource<T> implements DataSource<T> {
151
151
}
152
152
153
153
/**
154
- * Returns a sorted copy of the data if MatSort has a sort applied, otherwise just returns the data
155
- * array as provided. Uses the default data accessor for data lookup, unless a sortDataAccessor
156
- * function is defined.
154
+ * Returns a sorted copy of the data if MatSort has a sort applied, otherwise just returns the
155
+ * data array as provided. Uses the default data accessor for data lookup, unless a
156
+ * sortDataAccessor function is defined.
157
157
*/
158
158
_orderData ( data : T [ ] ) : T [ ] {
159
159
// If there is no active sort or direction, return the data without trying to sort.
You can’t perform that action at this time.
0 commit comments