diff --git a/web/src/lib/components/faces-page/people-card.svelte b/web/src/lib/components/faces-page/people-card.svelte index 07ed1989fc..10ed760813 100644 --- a/web/src/lib/components/faces-page/people-card.svelte +++ b/web/src/lib/components/faces-page/people-card.svelte @@ -46,7 +46,7 @@ role="group" > -
+
{ initialHiddenValues[person.id] = person.isHidden; }); @@ -344,6 +346,8 @@ }; + + {#if showMergeModal} (showMergeModal = false)}> {#if countVisiblePeople > 0} -
-
- {#each people as person, idx (person.id)} - {#if !person.isHidden} - handleChangeName(person)} - on:set-birth-date={() => handleSetBirthDate(person)} - on:merge-people={() => handleMergePeople(person)} - on:hide-person={() => handleHidePerson(person)} - /> - {/if} - {/each} -
+
+ {#each people as person, idx (person.id)} + {#if !person.isHidden} + handleChangeName(person)} + on:set-birth-date={() => handleSetBirthDate(person)} + on:merge-people={() => handleMergePeople(person)} + on:hide-person={() => handleHidePerson(person)} + /> + {/if} + {/each}
{:else}
@@ -444,29 +446,32 @@ on:change={handleToggleVisibility} bind:showLoadingSpinner bind:toggleVisibility + screenHeight={innerHeight} > - {#each people as person, idx (person.id)} - - {/each} +
+ {#each people as person, idx (person.id)} + + {/each} +
{/if}