aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.js
diff options
context:
space:
mode:
authorMaxim Filippov <colixer@gmail.com>2018-12-06 20:02:41 +0300
committerMaxim Filippov <colixer@gmail.com>2018-12-06 22:09:54 +0300
commit54c6438b1704039323f99321e7e03505461576e0 (patch)
tree0737905dcdb0ba828f4aa1a5e2f0fc51d2b34e9a /src/components/user_profile/user_profile.js
parenteb4cd641529107b8862c80c170ab037eb9f0ca6a (diff)
Fix typo
Diffstat (limited to 'src/components/user_profile/user_profile.js')
-rw-r--r--src/components/user_profile/user_profile.js2
1 files changed, 1 insertions, 1 deletions
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
}
}