Commit 0a0dffa7 authored by Shpuld Shpludson's avatar Shpuld Shpludson

Fix favs timeline fetching when opening profile via direct url

parent 3cfbf014
......@@ -36,7 +36,8 @@ const UserProfile = {
return this.$route.params.name || this.user.screen_name
},
isUs () {
return this.userId === this.$store.state.users.currentUser.id
return this.userId && this.$store.state.users.currentUser.id &&
this.userId === this.$store.state.users.currentUser.id
},
friends () {
return this.user.friends
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment