mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: don't hide invite search box while filtering
This commit is contained in:
parent
719ec0801d
commit
e53651972d
1 changed files with 3 additions and 1 deletions
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue