use proper case & remove unused view

This commit is contained in:
Régis Hanol
2014-11-17 18:17:24 +01:00
parent 216a5a87cb
commit 15a5d06495
3 changed files with 3 additions and 32 deletions

View File

@ -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,
});
});
}