Make eslint happy.
This commit is contained in:
parent
8e45322b09
commit
83d2e63771
|
@ -1,5 +1,4 @@
|
|||
import { default as computed, observes } from 'ember-addons/ember-computed-decorators';
|
||||
import Group from 'discourse/models/group';
|
||||
|
||||
var Tab = Em.Object.extend({
|
||||
@computed('name')
|
||||
|
@ -55,7 +54,7 @@ export default Ember.Controller.extend({
|
|||
},
|
||||
|
||||
@computed('model.is_group_owner', 'model.automatic')
|
||||
getTabs(isGroupOwner, automatic) {
|
||||
getTabs() {
|
||||
return this.get('tabs').filter(t => {
|
||||
let canSee = true;
|
||||
|
||||
|
|
|
@ -37,4 +37,4 @@ test("Editing group as an anonymous user", () => {
|
|||
andThen(() => {
|
||||
ok(count('.group-members tr') > 0, "it should redirect to members page for an anonymous user");
|
||||
});
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue