aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.js
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-07-02 14:43:01 -0400
committertaehoon <th.dev91@gmail.com>2019-07-02 14:43:01 -0400
commitb70c2bfef756a398305c7933f0b6906be4432e4c (patch)
treec23f8274c8df210ae2ea564308e137b158445668 /src/components/user_profile/user_profile.js
parent0e9b8be88caa8bb21891b2be5fe2eb1333aed345 (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.js2
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)
},