Fix favs timeline fetching when opening profile via direct url
This commit is contained in:
parent
3cfbf0141f
commit
0a0dffa793
1 changed files with 2 additions and 1 deletions
|
@ -36,7 +36,8 @@ const UserProfile = {
|
||||||
return this.$route.params.name || this.user.screen_name
|
return this.$route.params.name || this.user.screen_name
|
||||||
},
|
},
|
||||||
isUs () {
|
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 () {
|
friends () {
|
||||||
return this.user.friends
|
return this.user.friends
|
||||||
|
|
Loading…
Reference in a new issue