add status unavailable message when status can't be loaded in status preview

This commit is contained in:
Shpuld Shpuldson 2020-03-02 08:35:57 +02:00
parent 57e72b48c1
commit ab4005add5
5 changed files with 20 additions and 5 deletions

View file

@ -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) {