forked from AkkomaGang/admin-fe
Prevent reloading statuses after page was changed
This commit is contained in:
parent
d2f78d2368
commit
48d9e1a48a
1 changed files with 0 additions and 2 deletions
|
@ -82,7 +82,6 @@ const status = {
|
||||||
commit('SET_LOADING', false)
|
commit('SET_LOADING', false)
|
||||||
},
|
},
|
||||||
async FetchStatusesPageByInstance({ commit, getters, state }) {
|
async FetchStatusesPageByInstance({ commit, getters, state }) {
|
||||||
commit('SET_LOADING', true)
|
|
||||||
const statuses = await fetchStatusesByInstance(
|
const statuses = await fetchStatusesByInstance(
|
||||||
{
|
{
|
||||||
instance: state.statusesByInstance.selectedInstance,
|
instance: state.statusesByInstance.selectedInstance,
|
||||||
|
@ -93,7 +92,6 @@ const status = {
|
||||||
})
|
})
|
||||||
|
|
||||||
commit('PUSH_STATUSES', statuses.data)
|
commit('PUSH_STATUSES', statuses.data)
|
||||||
commit('SET_LOADING', false)
|
|
||||||
},
|
},
|
||||||
HandleGodmodeCheckboxChange({ commit, dispatch }, value) {
|
HandleGodmodeCheckboxChange({ commit, dispatch }, value) {
|
||||||
commit('CHANGE_GODMODE_CHECKBOX_VALUE', value)
|
commit('CHANGE_GODMODE_CHECKBOX_VALUE', value)
|
||||||
|
|
Loading…
Reference in a new issue