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:
commit
0ece2f04fd
|
@ -22,6 +22,12 @@ const UserProfile = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
userId () {
|
||||||
|
this.$store.commit('clearTimeline', { timeline: 'user' })
|
||||||
|
this.$store.dispatch('startFetching', ['user', this.userId])
|
||||||
|
}
|
||||||
|
},
|
||||||
components: {
|
components: {
|
||||||
UserCardContent,
|
UserCardContent,
|
||||||
Timeline
|
Timeline
|
||||||
|
|
Loading…
Reference in New Issue