From 539913673fc854facc9d1f28017434d367e1cd3d Mon Sep 17 00:00:00 2001 From: taehoon Date: Fri, 9 Aug 2019 16:50:49 -0400 Subject: reset error state when load new profile --- src/components/user_profile/user_profile.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components/user_profile/user_profile.js') 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) -- cgit v1.2.3-70-g09d2