TeamNameAction
{#each event.teams as t (t.id)}
{t.kuerzel}{t.name}
{/each}
{#if event.teams.length === 0}
No teams available
{/if}
No teams found :(
{#each $teams
.filter((v) => v.name.includes(teamSearch))
.filter((v) => !event.teams.some((k) => k.id === v.id))
.filter((v, i) => i < 50) as t (t.id)}
addTeam(t.id)} keywords={[t.name, t.kuerzel]}>{t.name}
{/each}