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

View File

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

View File

@ -6,7 +6,7 @@
let loaded = false let loaded = false
$: multiTenancyEnabled = $admin.multiTenancy $: multiTenancyEnabled = $admin.multiTenancy
$: hasAdminUser = !!$admin?.checklist?.adminUser.checked $: hasAdminUser = $admin?.checklist?.adminUser.checked
$: tenantSet = $auth.tenantSet $: tenantSet = $auth.tenantSet
onMount(async () => { onMount(async () => {
@ -26,7 +26,6 @@
$redirect("./admin") $redirect("./admin")
} }
} }
// Redirect to log in at any time if the user isn't authenticated // Redirect to log in at any time if the user isn't authenticated
$: { $: {
if ( if (

View File

@ -259,7 +259,7 @@ exports.configChecklist = async function (ctx) {
link: "/builder/portal/manage/email", link: "/builder/portal/manage/email",
}, },
adminUser: { adminUser: {
checked: adminUser != null, checked: adminUser,
label: "Create your first user", label: "Create your first user",
link: "/builder/portal/manage/users", link: "/builder/portal/manage/users",
}, },