From 99ccf28bc6c8c075c9834094558cb509846b2eaf Mon Sep 17 00:00:00 2001 From: martin <74269598+martabal@users.noreply.github.com> Date: Wed, 24 Apr 2024 00:03:29 +0200 Subject: [PATCH] fix(web): search people (#8955) * fix: search people * Update web/src/routes/(user)/people/+page.svelte Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> * pr feedback * pr feedback --------- Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com> --- web/src/routes/(user)/people/+page.svelte | 27 ++++++++++++++++++----- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/web/src/routes/(user)/people/+page.svelte b/web/src/routes/(user)/people/+page.svelte index 09d36890f5..2451f118c9 100644 --- a/web/src/routes/(user)/people/+page.svelte +++ b/web/src/routes/(user)/people/+page.svelte @@ -439,10 +439,10 @@ {/if} - {#if countVisiblePeople > 0} + {#if countVisiblePeople > 0 && (!searchName || searchedPeopleLocal.length > 0)}
No people
++ {`No people${searchName ? ` named "${searchName}"` : ''}`} +