fix: apply default settings when no settings have been set yet

This commit is contained in:
Spectralitree
2021-12-12 14:33:35 +01:00
parent c9879dbbbb
commit 10aba59ee8
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@
<b>Description:</b><br />
{@html htmlDescription}
</div>
{#if user.banner && settings && settings.appearance.banner_bottom}
{#if (user.banner && settings && settings.appearance.banner_bottom) || !settings}
<img src={user.banner} alt="your system banner" class="w-100 mb-3 rounded" style="max-height: 12em; object-fit: cover"/>
{/if}
{#if !isPublic}