Skip to content
Snippets Groups Projects
Commit 43c26a4c authored by lain's avatar lain
Browse files

Merge branch 'fix/favorites-timelines-fetching-on-direct-url' into 'develop'

Fix #286 favs timeline fetching when opening profile via direct url

Closes #286

See merge request pleroma/pleroma-fe!495
parents 3cfbf014 0a0dffa7
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment