Commit 9c4ee8ee authored by Clement Ho's avatar Clement Ho

Fix eslint and rubocop

parent dbb50ed8
......@@ -20,8 +20,7 @@
}
},
clicked(opts) {
const { $el, e } = opts;
const item = opts.selectedObj;
const { e } = opts;
e.preventDefault();
onSelect();
......
......@@ -391,7 +391,7 @@ import eventHub from './sidebar/event_hub';
if ($dropdown.hasClass('js-filter-bulk-update') || $dropdown.hasClass('js-issuable-form-dropdown')) {
e.preventDefault();
let isSelecting = (user.id !== selectedId);
const isSelecting = (user.id !== selectedId);
selectedId = isSelecting ? user.id : selectedIdDefault;
if (selectedId === gon.current_user_id) {
......
......@@ -54,7 +54,6 @@ describe 'Filter issues', js: true, feature: true do
create(:issue, project: project, title: "issue by assignee", milestone: milestone, author: user, assignees: [user])
create(:issue, project: project, title: "issue by assignee with searchTerm", milestone: milestone, author: user, assignees: [user])
issue = create(:issue,
title: "Bug 2",
project: project,
......
......@@ -6,7 +6,7 @@
/* global BoardService */
import Vue from 'vue';
import '~/boards/models/user';
import '~/boards/models/assignee';
require('~/boards/models/list');
require('~/boards/models/label');
......
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