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

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)