forked from AkkomaGang/akkoma-fe
make sure that user timelines are empty when opening profile page
This commit is contained in:
parent
0e9b8be88c
commit
b70c2bfef7
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue