Prevent reloading statuses after page was changed

This commit is contained in:
Angelina Filippova 2020-03-02 21:26:19 +03:00
parent d2f78d2368
commit 48d9e1a48a

View file

@ -82,7 +82,6 @@ const status = {
commit('SET_LOADING', false)
},
async FetchStatusesPageByInstance({ commit, getters, state }) {
commit('SET_LOADING', true)
const statuses = await fetchStatusesByInstance(
{
instance: state.statusesByInstance.selectedInstance,
@ -93,7 +92,6 @@ const status = {
})
commit('PUSH_STATUSES', statuses.data)
commit('SET_LOADING', false)
},
HandleGodmodeCheckboxChange({ commit, dispatch }, value) {
commit('CHANGE_GODMODE_CHECKBOX_VALUE', value)