Refresh admin user list after approval
This commit is contained in:
parent
f0d4a38433
commit
f05c30ab8d
|
@ -118,6 +118,7 @@ Discourse.AdminUsersListController = Ember.ArrayController.extend(Discourse.Pres
|
||||||
**/
|
**/
|
||||||
approveUsers: function() {
|
approveUsers: function() {
|
||||||
Discourse.AdminUser.bulkApprove(this.get('content').filterProperty('selected'));
|
Discourse.AdminUser.bulkApprove(this.get('content').filterProperty('selected'));
|
||||||
|
this.refreshUsers();
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue