reset error state when load new profile

This commit is contained in:
taehoon 2019-08-09 16:50:49 -04:00
parent 2e0603bdca
commit 539913673f
1 changed files with 1 additions and 0 deletions

View File

@ -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)