{#await peoplePromise}
{:then people} {#if people && people.length > 0} {@const peopleList = showAllPeople ? filterPeople(people, name) : filterPeople(people, name).slice(0, numberOfPeople)}
{$t('people').toUpperCase()}
{#each peopleList as person (person.id)}
togglePersonSelection(person.id)} >
{person.name}
{/each}
{#if showAllPeople || people.length > peopleList.length}
(showAllPeople = !showAllPeople)} > {#if showAllPeople}
{$t('collapse')} {:else}
{$t('see_all_people')} {/if}
{/if}
{/if} {/await}