From dc258a531c7409aae1b5dd665e6a73f8dde5c7f7 Mon Sep 17 00:00:00 2001 From: skjnldsv Date: Thu, 29 May 2025 11:11:58 +0200 Subject: [PATCH] fix(profile): do not restore previous value on invalid request Signed-off-by: skjnldsv --- .../components/PersonalInfo/shared/AccountPropertySection.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue b/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue index fc7fe7f7984..9348e87afc8 100644 --- a/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue +++ b/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue @@ -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)