forked from MapComplete/MapComplete
Search: small fixes to UX, cleanup of console.Log
This commit is contained in:
parent
3e2027a366
commit
b92b74df69
7 changed files with 22 additions and 15 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue