fix console error
This commit is contained in:
parent
644eba87fe
commit
885a3a77df
1 changed files with 6 additions and 5 deletions
|
@ -94,11 +94,12 @@ export const mutations = {
|
|||
updateUserRelationship (state, relationships) {
|
||||
relationships.forEach((relationship) => {
|
||||
const user = state.usersObject[relationship.id]
|
||||
|
||||
user.follows_you = relationship.followed_by
|
||||
user.following = relationship.following
|
||||
user.muted = relationship.muting
|
||||
user.statusnet_blocking = relationship.blocking
|
||||
if (user) {
|
||||
user.follows_you = relationship.followed_by
|
||||
user.following = relationship.following
|
||||
user.muted = relationship.muting
|
||||
user.statusnet_blocking = relationship.blocking
|
||||
}
|
||||
})
|
||||
},
|
||||
saveBlocks (state, blockIds) {
|
||||
|
|
Loading…
Reference in a new issue