mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:16:41 +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
|
@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`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user