Rename loading set methods to "load"

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
Michael Weimann
2019-01-06 22:29:20 +01:00
parent a63de8066e
commit 8521cf4e0c
2 changed files with 4 additions and 4 deletions

View File

@@ -79,8 +79,8 @@ export default {
}
},
created: function() {
this.$store.dispatch('setBoards')
this.$store.dispatch('setSharees')
this.$store.dispatch('loadBoards')
this.$store.dispatch('loadSharees')
}
}

View File

@@ -146,11 +146,11 @@ export default new Vuex.Store({
removeBoard({ commit }, board) {
commit('removeBoard', board)
},
async setBoards({ commit }) {
async loadBoards({ commit }) {
const boards = await apiClient.loadBoards()
commit('setBoards', boards)
},
async setSharees({ commit }) {
async loadSharees({ commit }) {
const params = {
format: 'json',
perPage: 4,