{#snippet child({ props })} {/snippet} Teams wechseln {#each teams.records as t} {@const isMe = teams.isOwner(t) || teams.isAdmin(t)} teams.setActive(t.id)} class={t.id === teams.activeId ? 'bg-accent' : ''} > {t.name} {#if teams.isOwner(t)} Owner {:else if teams.isAdmin(t)} Admin {/if} {/each} goto('/dashboard/settings/team')}> Teams verwalten