fix followers list
This commit is contained in:
parent
0619292b7a
commit
748d9effde
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ export const mutations = {
|
||||||
},
|
},
|
||||||
saveFollowerIds(state, { id, followerIds }) {
|
saveFollowerIds(state, { id, followerIds }) {
|
||||||
const user = state.usersObject[id]
|
const user = state.usersObject[id]
|
||||||
user.followerIds = [...new Set([user.followerIds || [], ...followerIds])]
|
user.followerIds = [...new Set([...(user.followerIds || []), ...followerIds])]
|
||||||
},
|
},
|
||||||
// Because frontend doesn't have a reason to keep these stuff in memory
|
// Because frontend doesn't have a reason to keep these stuff in memory
|
||||||
// outside of viewing someones user profile.
|
// outside of viewing someones user profile.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue