From 63eed95c87b9d927a4e566e73abd72d9852c3e44 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 22 Oct 2026 13:00:54 +0900 Subject: [PATCH] refac --- .../components/chat/Settings/ArchivedChats.svelte | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/lib/components/chat/Settings/ArchivedChats.svelte b/src/lib/components/chat/Settings/ArchivedChats.svelte index cd81f59086..c4fee5cf72 100644 --- a/src/lib/components/chat/Settings/ArchivedChats.svelte +++ b/src/lib/components/chat/Settings/ArchivedChats.svelte @@ -73,6 +73,7 @@ }; const searchHandler = () => { + chatList = null; if (searchDebounceTimeout) { clearTimeout(searchDebounceTimeout); } @@ -270,6 +271,18 @@ +
+ {#if query && chatList !== null} + {#if chatList.length === 0} + {$i18n.t('No results found')} + {:else if chatList.length === 1} + {$i18n.t('1 item')} + {:else} + {$i18n.t('{{count}} items', { count: chatList.length })} + {/if} + {/if} +
+
{#if chatList === null}