Commit 597639c0 authored by Z.J. van de Weg's avatar Z.J. van de Weg

Fix eslint

parent 449ecd6c
......@@ -35,7 +35,7 @@
/* global Labels */
/* global Shortcuts */
import BindInOut from './behaviors/bind_in_out.js.es6';
import BindInOut from './behaviors/bind_in_out';
import GroupsList from './groups_list';
import ProjectsList from './projects_list';
......
......@@ -23,15 +23,12 @@ module Groups
@group.name ||= @group.path.dup
if create_chat_team?
begin
response = Mattermost::CreateTeamService.new(@group, current_user).execute
return @group if @group.errors.any?
@group.build_chat_team(name: response['name'], team_id: response['id'])
end
return @group if @group.errors.any?
end
@group.save
@group.add_owner(current_user)
@group
......
import BindInOut from '~/behaviors/bind_in_out.js.es6';
import ClassSpecHelper from '../helpers/class_spec_helper.js.es6';
import BindInOut from '~/behaviors/bind_in_out';
import ClassSpecHelper from '../helpers/class_spec_helper';
describe('BindInOut', function () {
describe('.constructor', function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment