Search: small fixes to UX, cleanup of console.Log

This commit is contained in:
Pieter Vander Vennet 2024-09-15 02:25:57 +02:00
parent 3e2027a366
commit b92b74df69
7 changed files with 22 additions and 15 deletions

View file

@ -24,7 +24,7 @@
{theme}
{state}
>
{#if $search && hasSelection && themes[0] === theme}
{#if $search && hasSelection && themes?.[0] === theme}
<span class="thanks hidden-on-mobile" aria-hidden="true">
<Tr t={Translations.t.general.morescreen.enterToOpen} />
</span>
@ -33,7 +33,7 @@
{/each}
</div>
{#if themes.length === 0}
{#if themes?.length === 0}
<NoThemeResultButton {search} />
{/if}
</section>