1
0
Fork 0
mirror of https://git.youjo.love/youjo/youjo-fe.git synced 2025-04-02 23:29:11 +02:00

make sure that user timelines are empty when opening profile page

This commit is contained in:
taehoon 2019-07-02 14:43:01 -04:00
parent 0e9b8be88c
commit b70c2bfef7

View file

@ -31,6 +31,8 @@ const UserProfile = {
} }
}, },
created () { created () {
// Make sure that timelines used in this page are empty
this.cleanUp()
const routeParams = this.$route.params const routeParams = this.$route.params
this.load(routeParams.name || routeParams.id) this.load(routeParams.name || routeParams.id)
}, },