forked from AkkomaGang/admin-fe
Fix mutation name
This commit is contained in:
parent
090ab2efc8
commit
8811ca4ff3
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ const status = {
|
||||||
CHANGE_SELECTED_INSTANCE: (state, instance) => {
|
CHANGE_SELECTED_INSTANCE: (state, instance) => {
|
||||||
state.statusesByInstance.selectedInstance = instance
|
state.statusesByInstance.selectedInstance = instance
|
||||||
},
|
},
|
||||||
SET_STATUSES: (state, statuses) => {
|
SET_STATUSES_BY_INSTANCE: (state, statuses) => {
|
||||||
state.fetchedStatuses = statuses
|
state.fetchedStatuses = statuses
|
||||||
},
|
},
|
||||||
PUSH_STATUSES: (state, statuses) => {
|
PUSH_STATUSES: (state, statuses) => {
|
||||||
|
@ -65,7 +65,7 @@ const status = {
|
||||||
page: state.statusesByInstance.page
|
page: state.statusesByInstance.page
|
||||||
})
|
})
|
||||||
|
|
||||||
commit('SET_STATUSES', statuses.data)
|
commit('SET_STATUSES_BY_INSTANCE', statuses.data)
|
||||||
commit('SET_LOADING', false)
|
commit('SET_LOADING', false)
|
||||||
},
|
},
|
||||||
async FetchStatusesPageByInstance({ commit, getters, state }) {
|
async FetchStatusesPageByInstance({ commit, getters, state }) {
|
||||||
|
|
Loading…
Reference in a new issue