Skip to content

Commit

Permalink
fix(igx-grid): Check for 'condition' instead of 'searchVal', #2936
Browse files Browse the repository at this point in the history
  • Loading branch information
sstoyanovIG committed Nov 6, 2018
1 parent 114f9d1 commit 3110b44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export class IgxGridFilteringRowComponent implements AfterViewInit, OnDestroy {
* Returns the icon name of the current condition.
*/
public getIconName(): string {
if (this.column.dataType === DataType.Boolean && this.expression.searchVal === null) {
if (this.column.dataType === DataType.Boolean && this.expression.condition === null) {
return this.getCondition(this.conditions[0]).iconName;
} else {
return this.expression.condition.iconName;
Expand Down

0 comments on commit 3110b44

Please sign in to comment.