From 48d9e1a48a04a51f07ee80dde5428509b3a7efce Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Mon, 2 Mar 2020 21:26:19 +0300 Subject: [PATCH] Prevent reloading statuses after page was changed --- src/store/modules/status.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/store/modules/status.js b/src/store/modules/status.js index 281e4524..c0cf5b0f 100644 --- a/src/store/modules/status.js +++ b/src/store/modules/status.js @@ -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)