From bd3aca85ac2bd63f465ae1132457b4b01720dc94 Mon Sep 17 00:00:00 2001 From: wasim3357 <162983182+wasim3357@users.noreply.github.com> Date: Mon, 11 Aug 2025 17:42:38 +0530 Subject: [PATCH] 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) --- frontend/src/components/Modals/OrganizationModal.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/components/Modals/OrganizationModal.vue b/frontend/src/components/Modals/OrganizationModal.vue index fad8da49..f419e32e 100644 --- a/frontend/src/components/Modals/OrganizationModal.vue +++ b/frontend/src/components/Modals/OrganizationModal.vue @@ -108,6 +108,7 @@ async function createOrganization() { onError: (err) => { if (err.error.exc_type == 'ValidationError') { error.value = err.error?.messages?.[0] + loading.value = false } }, },