mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(sort): fix incorrect conditional grouping (#7427)
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user