diff options
| author | shpuld <shp@cock.li> | 2019-01-29 19:12:47 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-01-29 19:12:47 +0200 |
| commit | 0a0dffa793f2cea050507f811d1315348056348a (patch) | |
| tree | 67316d68850ef466f7fc0181aeb76a4071e7b403 /src | |
| parent | 3cfbf0141f9e5c2c835699c5427d4829da412328 (diff) | |
Fix favs timeline fetching when opening profile via direct url
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/user_profile/user_profile.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index 991062cd..27e138b0 100644 --- 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 |
