Skip to content
Snippets Groups Projects
Commit 38c3c085 authored by Angelina Filippova's avatar Angelina Filippova
Browse files

Fetch single status after its scope was updated

parent 8d7ffcca
No related branches found
No related tags found
1 merge request!126Create route for single status
......@@ -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 }) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment