1
0
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:
Brenden Bice 2019-04-12 23:09:05 -04:00
parent fa33e3ec58
commit 2ae0507575

View File

@ -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]