Fetch single status after its scope was updated

This commit is contained in:
Angelina Filippova 2020-05-22 21:47:18 +03:00
parent 8d7ffcca89
commit 38c3c08533

View file

@ -64,6 +64,8 @@ const status = {
dispatch('FetchUserStatuses', { userId, godmode })
} else if (fetchStatusesByInstance) { // called from Statuses by Instance
dispatch('FetchStatusesByInstance')
} else { // called from Status show page
dispatch('FetchStatus', statusId)
}
},
async DeleteStatus({ dispatch, getters }, { statusId, reportCurrentPage, userId, godmode, fetchStatusesByInstance }) {