Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
9c4ee8ee
Commit
9c4ee8ee
authored
May 04, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint and rubocop
parent
dbb50ed8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
app/assets/javascripts/protected_branches/protected_branch_access_dropdown.js
...ts/protected_branches/protected_branch_access_dropdown.js
+1
-2
app/assets/javascripts/users_select.js
app/assets/javascripts/users_select.js
+1
-1
spec/features/issues/filtered_search/filter_issues_spec.rb
spec/features/issues/filtered_search/filter_issues_spec.rb
+0
-1
spec/javascripts/boards/board_card_spec.js
spec/javascripts/boards/board_card_spec.js
+1
-1
No files found.
app/assets/javascripts/protected_branches/protected_branch_access_dropdown.js
View file @
9c4ee8ee
...
...
@@ -20,8 +20,7 @@
}
},
clicked
(
opts
)
{
const
{
$el
,
e
}
=
opts
;
const
item
=
opts
.
selectedObj
;
const
{
e
}
=
opts
;
e
.
preventDefault
();
onSelect
();
...
...
app/assets/javascripts/users_select.js
View file @
9c4ee8ee
...
...
@@ -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
();
le
t
isSelecting
=
(
user
.
id
!==
selectedId
);
cons
t
isSelecting
=
(
user
.
id
!==
selectedId
);
selectedId
=
isSelecting
?
user
.
id
:
selectedIdDefault
;
if
(
selectedId
===
gon
.
current_user_id
)
{
...
...
spec/features/issues/filtered_search/filter_issues_spec.rb
View file @
9c4ee8ee
...
...
@@ -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
,
...
...
spec/javascripts/boards/board_card_spec.js
View file @
9c4ee8ee
...
...
@@ -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
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment