diff options
| author | taehoon <th.dev91@gmail.com> | 2019-07-02 14:43:01 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-07-02 14:43:01 -0400 |
| commit | b70c2bfef756a398305c7933f0b6906be4432e4c (patch) | |
| tree | c23f8274c8df210ae2ea564308e137b158445668 /src/components/user_profile/user_profile.js | |
| parent | 0e9b8be88caa8bb21891b2be5fe2eb1333aed345 (diff) | |
make sure that user timelines are empty when opening profile page
Diffstat (limited to 'src/components/user_profile/user_profile.js')
| -rw-r--r-- | src/components/user_profile/user_profile.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js index eab330e7..7eb4ed3a 100644 --- a/src/components/user_profile/user_profile.js +++ b/src/components/user_profile/user_profile.js @@ -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) }, |
