Commit 445f8afc authored by Clement Ho's avatar Clement Ho

Merge branch 'multiple_assignees_board_sidebar_bug_fix' into 'multiple_assignees_review'

Fix bug inside the board_sidebar component

See merge request !1773
parents 6d02ea2c 26839521
......@@ -86,14 +86,12 @@ require('./sidebar/remove_issue');
saveAssignees () {
this.loadingAssignees = true;
function setLoadingFalse() {
this.loadingAssignees = false;
}
gl.issueBoards.BoardsStore.detail.issue.update(this.endpoint)
.then(setLoadingFalse)
.then(() => {
this.loadingAssignees = false;
})
.catch(() => {
setLoadingFalse();
this.loadingAssignees = false;
return new Flash('An error occurred while saving assignees');
});
},
......
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