mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 22:21:55 +08:00
FIX: don't hide invite search box while filtering
This commit is contained in:
parent
719ec0801d
commit
e53651972d
|
@ -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 New Issue
Block a user