Add ability to view status history for edited statuses
This commit is contained in:
parent
1b796691b0
commit
fa5d35523d
12 changed files with 186 additions and 13 deletions
|
|
@ -606,6 +606,9 @@ const statuses = {
|
|||
fetchStatusSource ({ rootState, dispatch }, status) {
|
||||
return apiService.fetchStatusSource({ id: status.id, credentials: rootState.users.currentUser.credentials })
|
||||
},
|
||||
fetchStatusHistory ({ rootState, dispatch }, status) {
|
||||
return apiService.fetchStatusHistory({ status })
|
||||
},
|
||||
deleteStatus ({ rootState, commit }, status) {
|
||||
commit('setDeleted', { status })
|
||||
apiService.deleteStatus({ id: status.id, credentials: rootState.users.currentUser.credentials })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue