mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:13:39 +08:00
DEV: apply new coding standards (#10592)
This commit is contained in:
@ -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");
|
||||
}
|
||||
}
|
||||
},
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user