fix(profile): keep error status persistent until valid

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
pull/53239/head
John Molakvoæ 2025-06-01 12:15:58 +07:00 committed by backportbot[bot]
parent dc258a531c
commit b9c10e0250
1 changed files with 1 additions and 1 deletions

@ -155,6 +155,7 @@ export default {
methods: {
async updateProperty(value) {
try {
this.hasError = false
const responseData = await savePrimaryAccountProperty(
this.name,
value,
@ -182,7 +183,6 @@ export default {
} else {
handleError(error, errorMessage)
this.hasError = true
setTimeout(() => { this.hasError = false }, 2000)
}
},
},