Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv committed Apr 5, 2016
1 parent dabce47 commit bd5c73a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions js/filters/contactGroup_filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ angular.module('contactsApp')
}
}
}
if(filter.length === 0) {
return contacts;
} else {
return filter;
}
return filter.length === 0 ? contacts : filter;
};
});

0 comments on commit bd5c73a

Please sign in to comment.