add status unavailable message when status can't be loaded in status preview
This commit is contained in:
parent
57e72b48c1
commit
ab4005add5
5 changed files with 20 additions and 5 deletions
|
@ -616,7 +616,7 @@ const statuses = {
|
|||
commit('setNotificationsSilence', { value })
|
||||
},
|
||||
fetchStatus ({ rootState, dispatch }, id) {
|
||||
rootState.api.backendInteractor.fetchStatus({ id })
|
||||
return rootState.api.backendInteractor.fetchStatus({ id })
|
||||
.then((status) => dispatch('addNewStatuses', { statuses: [status] }))
|
||||
},
|
||||
deleteStatus ({ rootState, commit }, status) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue