Commit c401088b authored by Phil Hughes's avatar Phil Hughes

Fixed JS conflicts

parent 16808a27
...@@ -134,31 +134,24 @@ class List { ...@@ -134,31 +134,24 @@ class List {
if (listFrom) { if (listFrom) {
this.issuesSize += 1; this.issuesSize += 1;
<<<<<<< HEAD
gl.boardService.moveIssue(issue.id, listFrom.id, this.id, moveBeforeIid, moveAfterIid) this.updateIssueLabel(issue, listFrom, moveBeforeIid, moveAfterIid);
.then(() => {
listFrom.getIssues(false);
});
=======
this.updateIssueLabel(issue, listFrom);
>>>>>>> 82f6c0f5ac4ed29390ed90592d2c431f3494d93f
} }
} }
} }
<<<<<<< HEAD
moveIssue (issue, oldIndex, newIndex, moveBeforeIid, moveAfterIid) { moveIssue (issue, oldIndex, newIndex, moveBeforeIid, moveAfterIid) {
this.issues.splice(oldIndex, 1); this.issues.splice(oldIndex, 1);
this.issues.splice(newIndex, 0, issue); this.issues.splice(newIndex, 0, issue);
gl.boardService.moveIssue(issue.id, null, null, moveBeforeIid, moveAfterIid); gl.boardService.moveIssue(issue.id, null, null, moveBeforeIid, moveAfterIid);
======= }
updateIssueLabel(issue, listFrom) {
gl.boardService.moveIssue(issue.id, listFrom.id, this.id) updateIssueLabel(issue, listFrom, moveBeforeIid, moveAfterIid) {
gl.boardService.moveIssue(issue.id, listFrom.id, this.id, moveBeforeIid, moveAfterIid)
.then(() => { .then(() => {
listFrom.getIssues(false); listFrom.getIssues(false);
}); });
>>>>>>> 82f6c0f5ac4ed29390ed90592d2c431f3494d93f
} }
findIssue (id) { findIssue (id) {
......
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