Skip to content

Commit e3b2792

Browse files
authored
Update table-data-source.ts
1 parent 28980f1 commit e3b2792

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/lib/table/table-data-source.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ export class MatTableDataSource<T> implements DataSource<T> {
5050
get filter(): string { return this._filter.value; }
5151

5252
/**
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.
5555
*/
5656
set sort(sort: MatSort|null) {
5757
this._sort = sort;
@@ -151,9 +151,9 @@ export class MatTableDataSource<T> implements DataSource<T> {
151151
}
152152

153153
/**
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.
157157
*/
158158
_orderData(data: T[]): T[] {
159159
// If there is no active sort or direction, return the data without trying to sort.

0 commit comments

Comments
 (0)