forked from srxl/akkoma-fe
Merge branch 'issues/pleroma-fe-496-following-follower-error' into 'develop'
Fix error message on no more data fetched Closes #496 See merge request pleroma/pleroma-fe!756
This commit is contained in:
commit
936eb23bdf
1 changed files with 2 additions and 2 deletions
|
@ -81,7 +81,7 @@ export const mutations = {
|
|||
user.friends.push(friend)
|
||||
}
|
||||
})
|
||||
user.lastFriendId = last(friends).id
|
||||
user.lastFriendId = last(user.friends).id
|
||||
},
|
||||
addFollowers (state, { id, followers }) {
|
||||
const user = state.usersObject[id]
|
||||
|
@ -90,7 +90,7 @@ export const mutations = {
|
|||
user.followers.push(follower)
|
||||
}
|
||||
})
|
||||
user.lastFollowerId = last(followers).id
|
||||
user.lastFollowerId = last(user.followers).id
|
||||
},
|
||||
// Because frontend doesn't have a reason to keep these stuff in memory
|
||||
// outside of viewing someones user profile.
|
||||
|
|
Loading…
Reference in a new issue