moar camelCase
This commit is contained in:
parent
17b6d3a2fe
commit
7f9747f55c
|
@ -26,7 +26,7 @@ export default Ember.Component.extend({
|
|||
this.set("otherAccountsLoading", true);
|
||||
Discourse.AdminUser.findAll("active", {
|
||||
"ip": this.get("ip"),
|
||||
"exclude": this.get("user_id"),
|
||||
"exclude": this.get("userId"),
|
||||
"order": "trust_level DESC"
|
||||
}).then(function (users) {
|
||||
self.setProperties({
|
||||
|
@ -41,7 +41,7 @@ export default Ember.Component.extend({
|
|||
this.set("show", false);
|
||||
},
|
||||
|
||||
deleteAllOtherAccounts: function() {
|
||||
deleteOtherAccounts: function() {
|
||||
var self = this;
|
||||
bootbox.confirm(I18n.t("ip_lookup.confirm_delete_other_accounts"), I18n.t("no_value"), I18n.t("yes_value"), function (confirmed) {
|
||||
if (confirmed) {
|
||||
|
@ -50,7 +50,7 @@ export default Ember.Component.extend({
|
|||
type: "DELETE",
|
||||
data: {
|
||||
"ip": self.get("ip"),
|
||||
"exclude": self.get("user_id"),
|
||||
"exclude": self.get("userId"),
|
||||
"order": "trust_level DESC"
|
||||
}
|
||||
}).then(function() {
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
<button class='btn' {{action "refreshBrowsers" target="content"}}>
|
||||
{{i18n admin.user.refresh_browsers}}
|
||||
</button>
|
||||
{{ip-lookup ip=ip_address user_id=id}}
|
||||
{{ip-lookup ip=ip_address userId=id}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -120,7 +120,7 @@
|
|||
<div class='value'>{{registration_ip_address}}</div>
|
||||
<div class='controls'>
|
||||
{{#if currentUser.staff}}
|
||||
{{ip-lookup ip=registration_ip_address user_id=id}}
|
||||
{{ip-lookup ip=registration_ip_address userId=id}}
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue