fix(sort): fix incorrect conditional grouping (#7427)

This commit is contained in:
Andrew Seguin
2017-09-29 15:57:47 -07:00
committed by GitHub
parent 811e50451b
commit f5e916d667
+1 -1
View File
@@ -146,6 +146,6 @@ export class MatSortHeader implements MatSortable {
/** Whether this MatSortHeader is currently sorted in either ascending or descending order. */
_isSorted() {
return this._sort.active == this.id &&
this._sort.direction === 'asc' || this._sort.direction === 'desc';
(this._sort.direction === 'asc' || this._sort.direction === 'desc');
}
}