Discourse Macro Helpers + Minor Fix to Admin User View

This commit is contained in:
Robin Ward
2013-07-11 19:35:52 -04:00
parent 89152116c6
commit 5eaae063f0
13 changed files with 136 additions and 69 deletions
@@ -78,9 +78,7 @@ Discourse.AdminUsersListController = Ember.ArrayController.extend(Discourse.Pres
@property hasSelection
**/
hasSelection: function() {
return this.get('selectedCount') > 0;
}.property('selectedCount'),
hasSelection: Em.computed.gt('selectedCount', 0),
/**
Refresh the current list of users.