Skip to content

Commit

Permalink
fix case when data is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipRieck committed Aug 19, 2016
1 parent 1a810b2 commit c91e28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/au-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class AureliaTableCustomAttribute {
for (let next of toFilter) {
for (let key of this.filterKeys) {

if( next[key]){
if( next[key]!= null ){
let value = next[key].toString().toLowerCase();

if (value.indexOf(this.filterText.toLowerCase()) > -1) {
Expand Down

0 comments on commit c91e28d

Please sign in to comment.