diff --git a/packages/builder/src/components/common/ConfigChecklist.svelte b/packages/builder/src/components/common/ConfigChecklist.svelte index e3a88d709b..7914a78b65 100644 --- a/packages/builder/src/components/common/ConfigChecklist.svelte +++ b/packages/builder/src/components/common/ConfigChecklist.svelte @@ -27,7 +27,7 @@ on:click={() => $goto($admin.checklist[checklistItem].link)} > {idx + 1}. {$admin.checklist[checklistItem].label} - + {/each} diff --git a/packages/builder/src/pages/builder/_layout.svelte b/packages/builder/src/pages/builder/_layout.svelte index aac5d28f52..0dbabb31d2 100644 --- a/packages/builder/src/pages/builder/_layout.svelte +++ b/packages/builder/src/pages/builder/_layout.svelte @@ -6,7 +6,7 @@ let loaded = false $: multiTenancyEnabled = $admin.multiTenancy - $: hasAdminUser = !!$admin?.checklist?.adminUser.checked + $: hasAdminUser = $admin?.checklist?.adminUser.checked $: tenantSet = $auth.tenantSet onMount(async () => { @@ -26,7 +26,6 @@ $redirect("./admin") } } - // Redirect to log in at any time if the user isn't authenticated $: { if ( diff --git a/packages/worker/src/api/controllers/global/configs.js b/packages/worker/src/api/controllers/global/configs.js index 8752545960..aa83fd695f 100644 --- a/packages/worker/src/api/controllers/global/configs.js +++ b/packages/worker/src/api/controllers/global/configs.js @@ -259,7 +259,7 @@ exports.configChecklist = async function (ctx) { link: "/builder/portal/manage/email", }, adminUser: { - checked: adminUser != null, + checked: adminUser, label: "Create your first user", link: "/builder/portal/manage/users", },