1
0
Fork 0
mirror of https://akkoma.dev/AkkomaGang/akkoma-fe synced 2025-05-19 18:29:12 +08: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 () {
// Make sure that timelines used in this page are empty
this.cleanUp()
const routeParams = this.$route.params
this.load(routeParams.name || routeParams.id)
},