diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index d7e19b36..24a8cce9 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -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 } }