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

@ -3,9 +3,9 @@ import Controller from "@ember/controller";
export default Controller.extend({
@discourseComputed
adminRoutes: function() {
adminRoutes: function () {
return this.model
.map(p => {
.map((p) => {
if (p.get("enabled")) {
return p.admin_route;
}
@ -20,6 +20,6 @@ export default Controller.extend({
toggleMenu() {
$(".admin-detail").toggleClass("mobile-closed mobile-open");
}
}
},
},
});