From bda0a76c89cadc6251261a08575acf6986da1084 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Mon, 12 Jun 2017 16:30:56 +0200 Subject: Clear timeline on user change. --- src/components/user_profile/user_profile.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/user_profile/user_profile.js') 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 () { -- cgit v1.2.3-70-g09d2