From 8811ca4ff3a1acc414f585cfd448d38bd75b524d Mon Sep 17 00:00:00 2001 From: Angelina Filippova Date: Wed, 5 Feb 2020 01:03:11 +0300 Subject: [PATCH] Fix mutation name --- src/store/modules/status.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/status.js b/src/store/modules/status.js index 35e978f3..228e03f1 100644 --- a/src/store/modules/status.js +++ b/src/store/modules/status.js @@ -17,7 +17,7 @@ const status = { CHANGE_SELECTED_INSTANCE: (state, instance) => { state.statusesByInstance.selectedInstance = instance }, - SET_STATUSES: (state, statuses) => { + SET_STATUSES_BY_INSTANCE: (state, statuses) => { state.fetchedStatuses = statuses }, PUSH_STATUSES: (state, statuses) => { @@ -65,7 +65,7 @@ const status = { page: state.statusesByInstance.page }) - commit('SET_STATUSES', statuses.data) + commit('SET_STATUSES_BY_INSTANCE', statuses.data) commit('SET_LOADING', false) }, async FetchStatusesPageByInstance({ commit, getters, state }) {