reset error state when load new profile
This commit is contained in:
parent
2e0603bdca
commit
539913673f
|
@ -86,6 +86,7 @@ const UserProfile = {
|
||||||
|
|
||||||
// Reset view
|
// Reset view
|
||||||
this.userId = null
|
this.userId = null
|
||||||
|
this.error = false
|
||||||
|
|
||||||
// Check if user data is already loaded in store
|
// Check if user data is already loaded in store
|
||||||
const user = this.$store.getters.findUser(userNameOrId)
|
const user = this.$store.getters.findUser(userNameOrId)
|
||||||
|
|
Loading…
Reference in New Issue