aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.js
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-08-09 16:50:49 -0400
committertaehoon <th.dev91@gmail.com>2019-08-15 13:25:38 -0400
commit539913673fc854facc9d1f28017434d367e1cd3d (patch)
tree51eef90f619dbc41281686255765c79c27e32131 /src/components/user_profile/user_profile.js
parent2e0603bdcaab4543bec9cb8d37256aa754548f6e (diff)
reset error state when load new profile
Diffstat (limited to 'src/components/user_profile/user_profile.js')
-rw-r--r--src/components/user_profile/user_profile.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js
index b8a165c4..1250d6f1 100644
--- a/src/components/user_profile/user_profile.js
+++ b/src/components/user_profile/user_profile.js
@@ -86,6 +86,7 @@ const UserProfile = {
// Reset view
this.userId = null
+ this.error = false
// Check if user data is already loaded in store
const user = this.$store.getters.findUser(userNameOrId)