mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(profile): keep error status persistent until valid
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
This commit is contained in:
parent
155867aecd
commit
8b81a8ef49
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)
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue