Commit b2697cc7 authored by Winnie Hellmann's avatar Winnie Hellmann

Copy boards store changes from EE

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