Skip to content
Snippets Groups Projects
Commit 2084c92d authored by Shpuld Shpuldson's avatar Shpuld Shpuldson
Browse files

Force user profile timeline update when the user id changes (like when another...

Force user profile timeline update when the user id changes (like when another user has been searched/found).
parent dbad99cb
No related branches found
No related tags found
No related merge requests found
......@@ -22,6 +22,12 @@ const UserProfile = {
}
}
},
watch: {
userId () {
this.$store.commit('clearTimeline', { timeline: 'user' })
this.$store.dispatch('startFetching', ['user', this.userId])
}
},
components: {
UserCardContent,
Timeline
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment