Make eslint happy.

This commit is contained in:
Guo Xiang Tan 2017-03-14 11:47:35 +08:00
parent 8e45322b09
commit 83d2e63771
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,4 @@
import { default as computed, observes } from 'ember-addons/ember-computed-decorators'; import { default as computed, observes } from 'ember-addons/ember-computed-decorators';
import Group from 'discourse/models/group';
var Tab = Em.Object.extend({ var Tab = Em.Object.extend({
@computed('name') @computed('name')
@ -55,7 +54,7 @@ export default Ember.Controller.extend({
}, },
@computed('model.is_group_owner', 'model.automatic') @computed('model.is_group_owner', 'model.automatic')
getTabs(isGroupOwner, automatic) { getTabs() {
return this.get('tabs').filter(t => { return this.get('tabs').filter(t => {
let canSee = true; let canSee = true;

View File

@ -37,4 +37,4 @@ test("Editing group as an anonymous user", () => {
andThen(() => { andThen(() => {
ok(count('.group-members tr') > 0, "it should redirect to members page for an anonymous user"); ok(count('.group-members tr') > 0, "it should redirect to members page for an anonymous user");
}); });
}) });