forked from MapComplete/MapComplete
fix(index): search got confused as it didn't have an id for the list items
This commit is contained in:
parent
7464bf857f
commit
6f4288476e
2 changed files with 10 additions and 3 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue