Fix react button not working if reaction accounts are not loaded

This commit is contained in:
tusooa 2023-06-09 16:11:15 -04:00
commit 8ba22a2481
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51
3 changed files with 6 additions and 4 deletions

View file

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