mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 10:02:35 +08:00
Make eslint happy.
This commit is contained in:
@ -3,7 +3,7 @@ import computed from 'ember-addons/ember-computed-decorators';
|
||||
export default Ember.Controller.extend({
|
||||
@computed('model.@each.enabled_setting')
|
||||
adminRoutes() {
|
||||
let routes = []
|
||||
let routes = [];
|
||||
|
||||
this.get('model').forEach(p => {
|
||||
if (this.siteSettings[p.get('enabled_setting')] && p.get('admin_route')) {
|
||||
|
Reference in New Issue
Block a user