Fix react button not working if reaction accounts are not loaded
This commit is contained in:
parent
624af7ed00
commit
8ba22a2481
3 changed files with 6 additions and 4 deletions
|
|
@ -757,7 +757,7 @@ const statuses = {
|
|||
)
|
||||
},
|
||||
fetchEmojiReactionsBy ({ rootState, commit }, id) {
|
||||
rootState.api.backendInteractor.fetchEmojiReactions({ id }).then(
|
||||
return rootState.api.backendInteractor.fetchEmojiReactions({ id }).then(
|
||||
emojiReactions => {
|
||||
commit('addEmojiReactionsBy', { id, emojiReactions, currentUser: rootState.users.currentUser })
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue