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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
4e0ab76f
Commit
4e0ab76f
authored
Apr 26, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] remove unnecessary vue reference in user_select
parent
b7115810
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
app/assets/javascripts/users_select.js
app/assets/javascripts/users_select.js
+1
-15
No files found.
app/assets/javascripts/users_select.js
View file @
4e0ab76f
...
...
@@ -2,7 +2,6 @@
/* global Issuable */
/* global ListUser */
import
Vue
from
'
vue
'
;
import
eventHub
from
'
./sidebar/event_hub
'
;
(
function
()
{
...
...
@@ -100,19 +99,7 @@ import eventHub from './sidebar/event_hub';
$block
.
on
(
'
click
'
,
'
.js-assign-yourself
'
,
function
(
e
)
{
e
.
preventDefault
();
if
(
$dropdown
.
hasClass
(
'
js-issue-board-sidebar
'
))
{
Vue
.
set
(
gl
.
issueBoards
.
BoardsStore
.
detail
.
issue
,
'
assignee
'
,
new
ListUser
({
id
:
_this
.
currentUser
.
id
,
username
:
_this
.
currentUser
.
username
,
name
:
_this
.
currentUser
.
name
,
avatar_url
:
_this
.
currentUser
.
avatar_url
}));
updateIssueBoardsIssue
();
}
else
{
return
assignTo
(
_this
.
currentUser
.
id
);
}
return
assignTo
(
_this
.
currentUser
.
id
);
});
assignTo
=
function
(
selected
)
{
var
data
;
...
...
@@ -289,7 +276,6 @@ import eventHub from './sidebar/event_hub';
return
$value
.
css
(
'
display
'
,
''
);
},
multiSelect
:
$dropdown
.
hasClass
(
'
js-multiselect
'
),
vue
:
false
,
clicked
:
function
(
options
)
{
const
{
$el
,
e
,
isMarking
}
=
options
;
const
user
=
options
.
selectedObj
;
...
...
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