aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/components/user_profile/user_profile.js6
1 files changed, 5 insertions, 1 deletions
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: {