{#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)} > {showAllPeople ? $t('collapse') : $t('see_all_people')}
{/if}
{/if} {/await}