fix: show clear error when creating or updating organization site name to an existing one (#793)

* fixed error of not showing the org name API response error

* Fixed the error also for organization settings page

* modified

* Keep field-specific mapping in OrgApi

---------

Co-authored-by: Rotimi Best <best@classroomio.com>
This commit is contained in:
Victor Jack
2026-08-06 06:24:07 +01:00
committed by GitHub
co-authored by Rotimi Best
parent 8ad0141ab8
commit a83e172e6d
7 changed files with 89 additions and 17 deletions
@@ -102,6 +102,7 @@
suffix=".classroomio.com"
oninput={() => {
isSiteNameTouched = true;
onboardingApi.errors.siteName = '';
}}
/>
{#if onboardingApi.errors.siteName}