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:
commit
e1cf6bd41c
@ -4,6 +4,7 @@ const fetchAndUpdate = ({ store, credentials }) => {
|
|||||||
return apiService.fetchFollowRequests({ credentials })
|
return apiService.fetchFollowRequests({ credentials })
|
||||||
.then((requests) => {
|
.then((requests) => {
|
||||||
store.commit('setFollowRequests', requests)
|
store.commit('setFollowRequests', requests)
|
||||||
|
store.commit('addNewUsers', requests)
|
||||||
}, () => {})
|
}, () => {})
|
||||||
.catch(() => {})
|
.catch(() => {})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user