Commit 95e0993d authored by Mike Greiling's avatar Mike Greiling

Merge branch 'psi-remove-reload' into 'master'

Remove unused reload property from board_store

See merge request gitlab-org/gitlab!25490
parents 6a88b457 fee37972
...@@ -110,14 +110,6 @@ export default { ...@@ -110,14 +110,6 @@ export default {
board.name.toLowerCase().includes(this.filterTerm.toLowerCase()), board.name.toLowerCase().includes(this.filterTerm.toLowerCase()),
); );
}, },
reload: {
get() {
return this.state.reload;
},
set(newValue) {
this.state.reload = newValue;
},
},
board() { board() {
return this.state.currentBoard; return this.state.currentBoard;
}, },
...@@ -142,16 +134,6 @@ export default { ...@@ -142,16 +134,6 @@ export default {
this.scrollFadeInitialized = false; this.scrollFadeInitialized = false;
this.$nextTick(this.setScrollFade); this.$nextTick(this.setScrollFade);
}, },
reload() {
if (this.reload) {
this.boards = [];
this.recentBoards = [];
this.loading = true;
this.reload = false;
this.loadBoards(false);
}
},
}, },
created() { created() {
boardsStore.setCurrentBoard(this.currentBoard); boardsStore.setCurrentBoard(this.currentBoard);
......
...@@ -30,7 +30,6 @@ const boardsStore = { ...@@ -30,7 +30,6 @@ const boardsStore = {
labels: [], labels: [],
}, },
currentPage: '', currentPage: '',
reload: false,
endpoints: {}, endpoints: {},
}, },
detail: { detail: {
...@@ -61,7 +60,6 @@ const boardsStore = { ...@@ -61,7 +60,6 @@ const boardsStore = {
}; };
}, },
showPage(page) { showPage(page) {
this.state.reload = false;
this.state.currentPage = page; this.state.currentPage = page;
}, },
addList(listObj, defaultAvatar) { addList(listObj, defaultAvatar) {
......
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