mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2024-11-17 15:16:49 +01:00
remove error message on no more following
This commit is contained in:
parent
fa33e3ec58
commit
2ae0507575
@ -81,7 +81,8 @@ export const mutations = {
|
||||
user.friends.push(friend)
|
||||
}
|
||||
})
|
||||
user.lastFriendId = last(friends).id
|
||||
|
||||
user.lastFriendId = friends.length ? last(friends).id : last(user.friends).id
|
||||
},
|
||||
addFollowers (state, { id, followers }) {
|
||||
const user = state.usersObject[id]
|
||||
|
Loading…
Reference in New Issue
Block a user