fix(web): events as props (#12825)

This commit is contained in:
Daniel Dietzler 2024-09-21 00:24:46 +02:00 committed by GitHub
parent 124eb8251b
commit 8cd3f6b884
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 47 additions and 46 deletions

View file

@ -32,7 +32,7 @@
>
<div class="grid-col-2 grid gap-8 md:grid-cols-3 lg:grid-cols-6 xl:grid-cols-8 2xl:grid-cols-10">
{#each showPeople as person (person.id)}
<FaceThumbnail {person} on:click={() => onSelect(person)} circle border selectable />
<FaceThumbnail {person} onClick={() => onSelect(person)} circle border selectable />
{/each}
</div>
</div>

View file

@ -83,8 +83,8 @@
bind:name={searchName}
{showLoadingSpinner}
{placeholder}
on:reset={handleReset}
on:search={({ detail }) => handleSearch(detail.force ?? false)}
onReset={handleReset}
onSearch={({ force }) => handleSearch(force ?? false)}
/>
{:else}
<input

View file

@ -168,7 +168,7 @@
circle
selectable
thumbnailSize={180}
on:click={handleRemoveSelectedPerson}
onClick={handleRemoveSelectedPerson}
/>
</div>
</div>