mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 02:48:28 +08:00
use proper case & remove unused view
This commit is contained in:
@ -23,14 +23,14 @@ export default Ember.Component.extend({
|
||||
}
|
||||
|
||||
if (!this.get("other_accounts")) {
|
||||
this.set("other_accounts_loading", true);
|
||||
this.set("otherAccountsLoading", true);
|
||||
Discourse.AdminUser.findAll("active", {
|
||||
"ip": this.get("ip"),
|
||||
"exclude": this.get("user_id")
|
||||
}).then(function (users) {
|
||||
self.setProperties({
|
||||
other_accounts: users,
|
||||
other_accounts_loading: false,
|
||||
otherAccountsLoading: false,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user