Commit af9cfc3f authored by Nick Thomas's avatar Nick Thomas

Resolve JS conflicts

parent 30672c53
...@@ -29,18 +29,14 @@ export default { ...@@ -29,18 +29,14 @@ export default {
assignees: [], assignees: [],
}); });
<<<<<<< HEAD
if (Store.state.currentBoard) { if (Store.state.currentBoard) {
issue.milestone_id = Store.state.currentBoard.milestone_id; issue.milestone_id = Store.state.currentBoard.milestone_id;
} }
this.list.newIssue(issue)
=======
eventHub.$emit(`scroll-board-list-${this.list.id}`); eventHub.$emit(`scroll-board-list-${this.list.id}`);
this.cancel(); this.cancel();
return this.list.newIssue(issue) return this.list.newIssue(issue)
>>>>>>> ce/master
.then(() => { .then(() => {
// Need this because our jQuery very kindly disables buttons on ALL form submissions // Need this because our jQuery very kindly disables buttons on ALL form submissions
$(this.$refs.submitButton).enable(); $(this.$refs.submitButton).enable();
......
...@@ -112,13 +112,8 @@ class List { ...@@ -112,13 +112,8 @@ class List {
.then((resp) => { .then((resp) => {
const data = resp.json(); const data = resp.json();
issue.id = data.iid; issue.id = data.iid;
<<<<<<< HEAD
issue.milestone = data.milestone; issue.milestone = data.milestone;
})
.then(() => {
=======
>>>>>>> ce/master
if (this.issuesSize > 1) { if (this.issuesSize > 1) {
const moveBeforeIid = this.issues[1].id; const moveBeforeIid = this.issues[1].id;
gl.boardService.moveIssue(issue.id, null, null, null, moveBeforeIid); gl.boardService.moveIssue(issue.id, null, null, null, moveBeforeIid);
......
This diff is collapsed.
This diff is collapsed.
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