mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
fix(profile): do not restore previous value on invalid request
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
ac5b632bf8
commit
155867aecd
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue