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 811e504 commit f5e916dCopy full SHA for f5e916d
src/lib/sort/sort-header.ts
@@ -146,6 +146,6 @@ export class MatSortHeader implements MatSortable {
146
/** Whether this MatSortHeader is currently sorted in either ascending or descending order. */
147
_isSorted() {
148
return this._sort.active == this.id &&
149
- this._sort.direction === 'asc' || this._sort.direction === 'desc';
+ (this._sort.direction === 'asc' || this._sort.direction === 'desc');
150
}
151
0 commit comments