mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix: apply default settings when no settings have been set yet
This commit is contained in:
parent
c9879dbbbb
commit
10aba59ee8
2 changed files with 2 additions and 2 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
</script>
|
||||
|
||||
<!-- display the banner if there's a banner set, and if the current settings allow for it-->
|
||||
{#if user && user.banner && settings && settings.appearance.banner_top}
|
||||
{#if user && user.banner && ((settings && settings.appearance.banner_top) || !settings)}
|
||||
<div class="banner" style="background-image: url({user.banner})" />
|
||||
{/if}
|
||||
<Container>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue