diff --git a/package.json b/package.json index 731429543..0e3f276ec 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "vue": "^2.5.16", "vue-click-outside": "^1.0.7", "vue-infinite-loading": "^2.4.1", - "vue-multiselect": "^2.1.3", "vue-router": "^3.0.1", "vue-smooth-dnd": "^0.2.8", "vuex": "^3.0.1", diff --git a/src/App.vue b/src/App.vue index 22bbf2b67..16cf013c2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -36,11 +36,8 @@ import { mapState } from 'vuex' import BoardSidebar from './components/board/BoardSidebar' -import { BoardApi } from './services/BoardApi' import AppNavigation from './components/navigation/AppNavigation'; -const boardApi = new BoardApi() - export default { name: 'App', components: { @@ -81,16 +78,9 @@ export default { return this.sidebarRouterView || this.sidebarShownState } }, - provide: function() { - return { - boardApi: boardApi - } - }, created: function() { - boardApi.loadBoards() - .then((boards) => { - this.$store.dispatch('setBoards', boards) - }) + this.$store.dispatch('setBoards') + this.$store.dispatch('setSharees') } } diff --git a/src/components/board/BoardSidebar.vue b/src/components/board/BoardSidebar.vue index e2955b9f3..868d806c4 100644 --- a/src/components/board/BoardSidebar.vue +++ b/src/components/board/BoardSidebar.vue @@ -75,9 +75,8 @@