- dispatch('reset')} />
- dispatch('change')} />
+
+
{#if !showLoadingSpinner}
-
+
{:else}
{/if}
diff --git a/web/src/routes/(user)/people/+page.svelte b/web/src/routes/(user)/people/+page.svelte
index 80051d9416a3f..482e06da9a8c9 100644
--- a/web/src/routes/(user)/people/+page.svelte
+++ b/web/src/routes/(user)/people/+page.svelte
@@ -491,10 +491,10 @@
{#if selectHidden}
Date: Sat, 11 May 2024 21:18:04 +0200
Subject: [PATCH 3/3] pr feedback
---
.../components/faces-page/show-hide.svelte | 34 +++++++++++--------
web/src/routes/(user)/people/+page.svelte | 5 ++-
2 files changed, 21 insertions(+), 18 deletions(-)
diff --git a/web/src/lib/components/faces-page/show-hide.svelte b/web/src/lib/components/faces-page/show-hide.svelte
index 0689261022ae5..82159c8ee7a81 100644
--- a/web/src/lib/components/faces-page/show-hide.svelte
+++ b/web/src/lib/components/faces-page/show-hide.svelte
@@ -4,16 +4,6 @@
HIDE_UNNANEMD = 'hide-unnamed',
VIEW_ALL = 'view-all',
}
-
- export const changeVisibility = (toggleVisibility: ToggleVisibilty) => {
- if (toggleVisibility === ToggleVisibilty.VIEW_ALL) {
- return ToggleVisibilty.HIDE_UNNANEMD;
- } else if (toggleVisibility === ToggleVisibilty.HIDE_UNNANEMD) {
- return ToggleVisibilty.HIDE_ALL;
- } else {
- return ToggleVisibilty.VIEW_ALL;
- }
- };