mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 15:52:11 +08:00
Merge pull request #2519 from techAPJ/fix_invite_search
FIX: don't hide invite search box while filtering
This commit is contained in:
commit
04e5c59598
|
@ -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