Skip to content

Commit

Permalink
feat(filtering): fix error when adding new group #5496
Browse files Browse the repository at this point in the history
  • Loading branch information
DiyanDimitrov committed Aug 16, 2019
1 parent caf9d02 commit 255018a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class IgxAdvancedFilteringDialogComponent implements AfterViewInit, OnDes

if (this._selectedColumn !== value) {
this._selectedColumn = value;
if (oldValue && this._selectedColumn.dataType !== oldValue.dataType) {
if (oldValue && this._selectedColumn && this._selectedColumn.dataType !== oldValue.dataType) {
this.selectedCondition = null;
this.searchValue = null;
}
Expand Down

0 comments on commit 255018a

Please sign in to comment.