BigW Consortium Gitlab

Commit a810e2e2 by Phil Hughes

Fixed adding to list bug

parent fee064be
......@@ -8,7 +8,10 @@
gl.issueBoards.ModalFooter = Vue.extend({
mixins: [gl.issueBoards.ModalMixins],
data() {
return ModalStore.store;
return {
modal: ModalStore.store,
state: gl.issueBoards.BoardsStore.state,
};
},
computed: {
submitDisabled() {
......@@ -22,7 +25,7 @@
},
methods: {
addIssues() {
const list = this.selectedList;
const list = this.modal.selectedList || this.state.lists[0];
const selectedIssues = ModalStore.getSelectedIssues();
const issueIds = selectedIssues.map(issue => issue.globalId);
......
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