Skip to content

Commit

Permalink
Fixed #5735 - "in" doesn't properly filter value of null
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Dec 31, 2018
1 parent b119c50 commit a6cfbc5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1307,10 +1307,6 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable
return true;
}

if (value === undefined || value === null) {
return false;
}

for (let i = 0; i < filter.length; i++) {
if (filter[i] === value || (value.getTime && filter[i].getTime && value.getTime() === filter[i].getTime())) {
return true;
Expand Down

0 comments on commit a6cfbc5

Please sign in to comment.