Merge branch 'fix/user-finder-updates-user-timeline' into 'develop'

Force user profile timeline update when the user id changes

Closes #23

See merge request !94
This commit is contained in:
lambadalambda 2017-08-16 09:51:32 -04:00
commit 0ece2f04fd

View file

@ -22,6 +22,12 @@ const UserProfile = {
}
}
},
watch: {
userId () {
this.$store.commit('clearTimeline', { timeline: 'user' })
this.$store.dispatch('startFetching', ['user', this.userId])
}
},
components: {
UserCardContent,
Timeline