diff options
Diffstat (limited to 'app/assets/javascripts/boards')
-rw-r--r-- | app/assets/javascripts/boards/components/boards_selector.vue | 18 | ||||
-rw-r--r-- | app/assets/javascripts/boards/stores/boards_store.js | 2 |
2 files changed, 0 insertions, 20 deletions
diff --git a/app/assets/javascripts/boards/components/boards_selector.vue b/app/assets/javascripts/boards/components/boards_selector.vue index eeb0fbec1ed..5e8b80cd959 100644 --- a/app/assets/javascripts/boards/components/boards_selector.vue +++ b/app/assets/javascripts/boards/components/boards_selector.vue @@ -110,14 +110,6 @@ export default { board.name.toLowerCase().includes(this.filterTerm.toLowerCase()), ); }, - reload: { - get() { - return this.state.reload; - }, - set(newValue) { - this.state.reload = newValue; - }, - }, board() { return this.state.currentBoard; }, @@ -142,16 +134,6 @@ export default { this.scrollFadeInitialized = false; this.$nextTick(this.setScrollFade); }, - reload() { - if (this.reload) { - this.boards = []; - this.recentBoards = []; - this.loading = true; - this.reload = false; - - this.loadBoards(false); - } - }, }, created() { boardsStore.setCurrentBoard(this.currentBoard); diff --git a/app/assets/javascripts/boards/stores/boards_store.js b/app/assets/javascripts/boards/stores/boards_store.js index e5ce8b70a4f..f233228614f 100644 --- a/app/assets/javascripts/boards/stores/boards_store.js +++ b/app/assets/javascripts/boards/stores/boards_store.js @@ -30,7 +30,6 @@ const boardsStore = { labels: [], }, currentPage: '', - reload: false, endpoints: {}, }, detail: { @@ -61,7 +60,6 @@ const boardsStore = { }; }, showPage(page) { - this.state.reload = false; this.state.currentPage = page; }, addList(listObj, defaultAvatar) { |