diff options
| author | Henry Jameson <me@hjkos.com> | 2018-12-03 09:29:33 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-12-03 09:29:33 +0300 |
| commit | ccb1682379fda5b34506cb0a04df2ce38eaad6ad (patch) | |
| tree | 354056482a9f518029d55c61dc1432ede3ae125b /src/components/user_profile/user_profile.js | |
| parent | e15b9bddbb23e36632982296a7c9ec01fd2bb7c7 (diff) | |
Add userId property to timelines so that we don't overwrite user timeline meant
for another user
Diffstat (limited to 'src/components/user_profile/user_profile.js')
| -rw-r--r-- | src/components/user_profile/user_profile.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index 26be1801..1d79713d 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -27,6 +27,7 @@ const UserProfile = { }, watch: { userId () { + this.$store.dispatch('stopFetching', 'user') this.$store.commit('clearTimeline', { timeline: 'user' }) this.$store.dispatch('startFetching', ['user', this.userId]) } |
