fix(profile): do not restore previous value on invalid request

Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
pull/53178/head
skjnldsv 2025-05-29 11:11:58 +07:00
parent d53776913e
commit f696682dc6
1 changed files with 0 additions and 1 deletions

@ -180,7 +180,6 @@ export default {
this.isSuccess = true
setTimeout(() => { this.isSuccess = false }, 2000)
} else {
this.$emit('update:value', this.initialValue)
handleError(error, errorMessage)
this.hasError = true
setTimeout(() => { this.hasError = false }, 2000)