fix(index): search got confused as it didn't have an id for the list items

This commit is contained in:
Pieter Vander Vennet 2023-03-13 21:31:27 +01:00
parent 7464bf857f
commit 6f4288476e
2 changed files with 10 additions and 3 deletions

View file

@ -49,7 +49,7 @@
<ProfessionalServicesButton />
{/if}
{#each filteredThemes as theme}
{#each filteredThemes as theme (theme.id)}
{#if theme !== undefined && !(hideThemes && theme?.hideFromOverview)}
<ThemeButton {theme} {isCustom} userDetails={state.osmConnection.userDetails} {state} />
{/if}
@ -62,7 +62,7 @@
<ProfessionalServicesButton />
{/if}
{#each filteredThemes as theme}
{#each filteredThemes as theme (theme.id)}
{#if theme !== undefined && !(hideThemes && theme?.hideFromOverview)}
<ThemeButton {theme} {isCustom} userDetails={state.osmConnection.userDetails} {state} />
{/if}