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
e51f46c9
Commit
e51f46c9
authored
Apr 27, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] use refs
parent
39e38a58
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/boards/components/board_sidebar.js
app/assets/javascripts/boards/components/board_sidebar.js
+1
-1
app/views/projects/boards/components/sidebar/_assignee.html.haml
...ws/projects/boards/components/sidebar/_assignee.html.haml
+1
-1
No files found.
app/assets/javascripts/boards/components/board_sidebar.js
View file @
e51f46c9
...
...
@@ -64,7 +64,7 @@ require('./sidebar/remove_issue');
},
assignSelf
()
{
// Notify gl dropdown that we are now assigning to current user
this
.
$
el
.
querySelector
(
'
.block.assignee
'
)
.
dispatchEvent
(
new
Event
(
'
assignYourself
'
));
this
.
$
refs
.
assigneeBlock
.
dispatchEvent
(
new
Event
(
'
assignYourself
'
));
this
.
addUser
(
this
.
currentUser
.
id
);
this
.
saveUsers
();
...
...
app/views/projects/boards/components/sidebar/_assignee.html.haml
View file @
e51f46c9
.block.assignee
.block.assignee
{
ref:
"assigneeBlock"
}
%template
{
"v-if"
=>
"issue.assignees"
}
%assignee-title
{
":number-of-assignees"
=>
"issue.selectedAssigneeIds.length"
,
":loading"
=>
"loadingAssignees"
,
...
...
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