This commit is contained in:
Maxim Filippov 2018-12-06 20:02:41 +03:00
parent eb4cd64152
commit 54c6438b17

View File

@ -25,7 +25,7 @@ const UserProfile = {
return this.timeline.statuses[0].user
} else {
return Object.values(this.$store.state.users.usersObject).filter(user => {
return user.name === this.userName
return user.screen_name === this.userName
})[0] || false
}
}