fix: fix banner settings condition syntax

This commit is contained in:
Spectralitree 2021-12-12 23:09:57 +01:00
parent 6197bf03cc
commit dd6636a144

View File

@ -65,11 +65,11 @@
</Col>
{/if}
</Row>
<div class="my-2">
<div class="my-2 description">
<b>Description:</b><br />
{@html htmlDescription}
</div>
{#if (user.banner && settings && settings.appearance.banner_bottom) || !settings}
{#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}