fix(dashboard): fix crash when opening dash while not logged in

This commit is contained in:
Draconizations 2022-05-30 13:00:57 +02:00
parent 0a048cdc32
commit 0d774a7c9e
3 changed files with 16 additions and 5 deletions

View file

@ -75,6 +75,7 @@
{#if user && user.banner && ((settings && settings.appearance.banner_top) || !settings)}
<div class="banner" style="background-image: url({user.banner})" />
{/if}
{#if user}
<Container>
<Row>
<Col class="mx-auto" xs={12} lg={11} xl={10}>
@ -93,6 +94,7 @@
</Col>
</Row>
</Container>
{/if}
<svelte:head>
<title>PluralKit | dash</title>