This commit is contained in:
Maurits Lourens 2021-09-06 20:23:33 +02:00
parent 1790e777cc
commit 9338043133
3 changed files with 3 additions and 4 deletions

View File

@ -27,7 +27,7 @@
on:click={() => $goto($admin.checklist[checklistItem].link)}
>
<span>{idx + 1}. {$admin.checklist[checklistItem].label}</span>
<Checkbox value={!!$admin.checklist[checklistItem].checked} />
<Checkbox value={$admin.checklist[checklistItem].checked} />
</div>
</MenuItem>
{/each}

View File

@ -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 (

View File

@ -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",
},