aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.js
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2017-06-12 16:30:56 +0200
committerRoger Braun <roger@rogerbraun.net>2017-06-12 16:30:56 +0200
commitbda0a76c89cadc6251261a08575acf6986da1084 (patch)
treebb66ea32212446c557ea6bcd1289420a154fdcfe /src/components/user_profile/user_profile.js
parent2e7029b67027dae7ee3202553c0c9e288c882730 (diff)
Clear timeline on user change.
Diffstat (limited to 'src/components/user_profile/user_profile.js')
-rw-r--r--src/components/user_profile/user_profile.js1
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 5eef2735..3d473592 100644
--- a/src/components/user_profile/user_profile.js
+++ b/src/components/user_profile/user_profile.js
@@ -3,6 +3,7 @@ import Timeline from '../timeline/timeline.vue'
const UserProfile = {
created () {
+ this.$store.commit('clearTimeline', { timeline: 'user' })
this.$store.dispatch('startFetching', ['user', this.userId])
},
destroyed () {