Merge branch 'fix/follow-requests-usercard-crash' into 'develop'

Fix #877 Follow request user card crash

Closes #877

See merge request pleroma/pleroma-fe!1167
This commit is contained in:
Shpuld Shpludson 2020-07-02 09:28:57 +00:00
commit e1cf6bd41c
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ const fetchAndUpdate = ({ store, credentials }) => {
return apiService.fetchFollowRequests({ credentials })
.then((requests) => {
store.commit('setFollowRequests', requests)
store.commit('addNewUsers', requests)
}, () => {})
.catch(() => {})
}