forked from AkkomaGang/akkoma-fe
reset error state when load new profile
This commit is contained in:
parent
2e0603bdca
commit
539913673f
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue