Merge pull request #2519 from techAPJ/fix_invite_search

FIX: don't hide invite search box while filtering
This commit is contained in:
Neil Lalonde 2014-07-08 16:14:50 -04:00
commit 04e5c59598

View File

@ -58,7 +58,9 @@ export default Ember.ObjectController.extend({
@property showSearch
**/
showSearch: Em.computed.gte('invites.length', 10),
showSearch: function() {
return this.get('invites.length') > 9;
}.property(),
/**
Were the results limited by our `maxInvites`