forked from AkkomaGang/akkoma-fe
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
1 changed files with 6 additions and 0 deletions
|
@ -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 a new issue