logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: 43c26a4cd0b623aa39892452cf7a928b07948a46
parent: 3cfbf0141f9e5c2c835699c5427d4829da412328
Author: lambda <pleromagit@rogerbraun.net>
Date:   Tue, 29 Jan 2019 19:10:33 +0000

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

Diffstat:

Msrc/components/user_profile/user_profile.js3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js @@ -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