Fix favs timeline fetching when opening profile via direct url

This commit is contained in:
shpuld 2019-01-29 19:12:47 +02:00
parent 3cfbf0141f
commit 0a0dffa793

View file

@ -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