{#each filteredThemes as theme (theme.id)} {#if theme !== undefined && !(hideThemes && theme?.hideFromOverview)} {#if theme === firstTheme && !isCustom && $search !== "" && $search !== undefined} {:else} {/if} {/if} {/each}
{#if filteredThemes.length === 0} {/if}