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
74b7d213
Commit
74b7d213
authored
Apr 27, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] code review changes
parent
d05c72c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
10 deletions
+2
-10
app/assets/javascripts/boards/components/board_sidebar.js
app/assets/javascripts/boards/components/board_sidebar.js
+1
-9
app/assets/javascripts/boards/models/issue.js
app/assets/javascripts/boards/models/issue.js
+1
-1
No files found.
app/assets/javascripts/boards/components/board_sidebar.js
View file @
74b7d213
...
...
@@ -86,15 +86,7 @@ require('./sidebar/remove_issue');
this
.
loadingAssignees
=
true
;
gl
.
issueBoards
.
BoardsStore
.
detail
.
issue
.
update
(
this
.
endpoint
)
.
then
((
response
)
=>
{
this
.
loadingAssignees
=
false
;
const
data
=
response
.
json
();
this
.
$forceUpdate
();
gl
.
issueBoards
.
BoardsStore
.
detail
.
issue
.
processAssignees
(
data
.
assignees
);
})
.
then
(()
=>
this
.
loadingAssignees
=
false
)
.
catch
(()
=>
{
this
.
loadingAssignees
=
false
;
return
new
Flash
(
'
An error occurred while saving assignees
'
);
...
...
app/assets/javascripts/boards/models/issue.js
View file @
74b7d213
...
...
@@ -65,7 +65,7 @@ class ListIssue {
}
removeAssignee
(
removeAssignee
)
{
if
(
a
ssignee
)
{
if
(
removeA
ssignee
)
{
this
.
assignees
=
this
.
assignees
.
filter
(
assignee
=>
assignee
.
id
!==
removeAssignee
.
id
);
}
}
...
...
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