Skip to content

Commit

Permalink
fix(sort): fix incorrect conditional grouping (#7427)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewseguin authored Sep 29, 2017
1 parent 811e504 commit f5e916d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/sort/sort-header.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}

0 comments on commit f5e916d

Please sign in to comment.