Merge branch 'dev' into clients-pops

This commit is contained in:
miloschwartz
2025-06-22 17:50:39 -04:00
21 changed files with 231 additions and 208 deletions

View File

@@ -33,7 +33,6 @@ export default async function Page(props: {
>(`/auth/initial-setup-complete`, await authCookieHeader());
const complete = setupRes.data.data.complete;
if (!complete) {
console.log("compelte", complete);
redirect("/auth/initial-setup");
}

View File

@@ -308,13 +308,13 @@ export default function StepperForm() {
)}
/>
{orgIdTaken && (
{orgIdTaken && !orgCreated ? (
<Alert variant="destructive">
<AlertDescription>
{t('setupErrorIdentifier')}
</AlertDescription>
</Alert>
)}
) : null}
{error && (
<Alert variant="destructive">