This commit is contained in:
Timothy Jaeryang Baek committed 2026-10-22 13:00:54 +09:00
1 parent ed3cf83553
commit 63eed95c87
1 file changed
+13
@@ -73,6 +73,7 @@
};
const searchHandler = () => {
chatList = null;
if (searchDebounceTimeout) {
clearTimeout(searchDebounceTimeout);
}
@@ -270,6 +271,18 @@
</Dropdown>
</div>
<div class="sr-only" aria-live="polite" aria-atomic="true">
{#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}
</div>
<div class="mt-3 flex-1 min-h-0 overflow-y-auto scrollbar-hover pr-1.5">
{#if chatList === null}
<div class="flex min-h-20 items-center justify-center">