DEV: apply new coding standards (#10592)

This commit is contained in:
Joffrey JAFFEUX
2020-09-04 13:42:47 +02:00
committed by GitHub
parent 80dfaeb0d2
commit 52672b9eab
1473 changed files with 9386 additions and 9958 deletions

View File

@ -8,7 +8,7 @@ import showModal from "discourse/lib/show-modal";
export default Controller.extend({
userModes: [
{ id: "all", name: I18n.t("admin.api.all_users") },
{ id: "single", name: I18n.t("admin.api.single_user") }
{ id: "single", name: I18n.t("admin.api.single_user") },
],
useGlobalKey: false,
scopes: null,
@ -37,7 +37,7 @@ export default Controller.extend({
if (!this.useGlobalKey) {
const selectedScopes = Object.values(this.scopes)
.flat()
.filter(action => {
.filter((action) => {
return action.selected;
});
@ -55,9 +55,9 @@ export default Controller.extend({
return showModal("admin-api-key-urls", {
admin: true,
model: {
urls
}
urls,
},
});
}
}
},
},
});