Skip to content

Commit f696682

Browse files
committed
fix(profile): do not restore previous value on invalid request
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent d537769 commit f696682

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ export default {
180180
this.isSuccess = true
181181
setTimeout(() => { this.isSuccess = false }, 2000)
182182
} else {
183-
this.$emit('update:value', this.initialValue)
184183
handleError(error, errorMessage)
185184
this.hasError = true
186185
setTimeout(() => { this.hasError = false }, 2000)

0 commit comments

Comments
 (0)