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
1 changed files with 2 additions and 0 deletions

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)
}, },