1
0
forked from test/crm

Merge pull request #1172 from frappe/mergify/bp/main-hotfix/pr-1133

fix(Org Modal): Setting loading false in case of Validation Error (backport #1133)
This commit is contained in:
Shariq Ansari 2025-08-20 14:35:43 +05:30 committed by GitHub
commit 1b0a92c0c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,6 +108,7 @@ async function createOrganization() {
onError: (err) => {
if (err.error.exc_type == 'ValidationError') {
error.value = err.error?.messages?.[0]
loading.value = false
}
},
},