diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index 3d473592..5f9d4d08 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -15,7 +15,11 @@ const UserProfile = { return this.$route.params.id }, user () { - return this.$store.state.users.usersObject[this.userId] + if (this.timeline.statuses[0]) { + return this.timeline.statuses[0].user + } else { + return false + } } }, components: {