FIX: don't hide invite search box while filtering

This commit is contained in:
Arpit Jalan 2014-07-08 23:56:52 +05:30
parent 719ec0801d
commit e53651972d

View File

@ -58,7 +58,9 @@ export default Ember.ObjectController.extend({
@property showSearch @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` Were the results limited by our `maxInvites`