fix(Org Modal): Setting loading false in case of Validation Error
In this case user can add the details and save the form again instead of refreshing and then trying again for fresh. (cherry picked from commit ea2e44a2befd5cfd775f7e1b0d3c2321f6d075b0)
This commit is contained in:
parent
6d7372240f
commit
bd3aca85ac
@ -108,6 +108,7 @@ async function createOrganization() {
|
||||
onError: (err) => {
|
||||
if (err.error.exc_type == 'ValidationError') {
|
||||
error.value = err.error?.messages?.[0]
|
||||
loading.value = false
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user