Skip to content

Commit 16c7f25

Browse files
committed
fix(profile): keep error status persistent until valid
Signed-off-by: John Molakvoæ <[email protected]>
1 parent f696682 commit 16c7f25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ export default {
155155
methods: {
156156
async updateProperty(value) {
157157
try {
158+
this.hasError = false
158159
const responseData = await savePrimaryAccountProperty(
159160
this.name,
160161
value,
@@ -182,7 +183,6 @@ export default {
182183
} else {
183184
handleError(error, errorMessage)
184185
this.hasError = true
185-
setTimeout(() => { this.hasError = false }, 2000)
186186
}
187187
},
188188
},

0 commit comments

Comments
 (0)