Commit b2697cc7 authored by Winnie Hellmann's avatar Winnie Hellmann

Copy boards store changes from EE

parent 842ade4e
......@@ -13,7 +13,13 @@ const boardsStore = {
filter: {
path: '',
},
state: {},
state: {
currentBoard: {
labels: [],
},
currentPage: '',
reload: false,
},
detail: {
issue: {},
},
......@@ -28,6 +34,10 @@ const boardsStore = {
issue: {},
};
},
showPage(page) {
this.state.reload = false;
this.state.currentPage = page;
},
addList(listObj, defaultAvatar) {
const list = new List(listObj, defaultAvatar);
this.state.lists.push(list);
......
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