forked from AkkomaGang/admin-fe
Fetch single status after its scope was updated
This commit is contained in:
parent
8d7ffcca89
commit
38c3c08533
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ const status = {
|
||||||
dispatch('FetchUserStatuses', { userId, godmode })
|
dispatch('FetchUserStatuses', { userId, godmode })
|
||||||
} else if (fetchStatusesByInstance) { // called from Statuses by Instance
|
} else if (fetchStatusesByInstance) { // called from Statuses by Instance
|
||||||
dispatch('FetchStatusesByInstance')
|
dispatch('FetchStatusesByInstance')
|
||||||
|
} else { // called from Status show page
|
||||||
|
dispatch('FetchStatus', statusId)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async DeleteStatus({ dispatch, getters }, { statusId, reportCurrentPage, userId, godmode, fetchStatusesByInstance }) {
|
async DeleteStatus({ dispatch, getters }, { statusId, reportCurrentPage, userId, godmode, fetchStatusesByInstance }) {
|
||||||
|
|
Loading…
Reference in a new issue