diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index b20857dd0..c74459993 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -2237,6 +2237,7 @@ { showChatSearch.set(false); }} diff --git a/src/lib/components/chat/ChatSearch.svelte b/src/lib/components/chat/ChatSearch.svelte index bc83a85ab..3317c33cf 100644 --- a/src/lib/components/chat/ChatSearch.svelte +++ b/src/lib/components/chat/ChatSearch.svelte @@ -1,6 +1,6 @@ {#if show} -
- - {currentResult} of {totalResults}
+ {:else if searchQuery.trim()} +
+ No results +
{/if} @@ -108,6 +155,7 @@ disabled={totalResults === 0} title="Previous (Shift+Enter)" aria-label="Previous result" + on:click={navigateToPrevious} > @@ -117,12 +165,12 @@ disabled={totalResults === 0} title="Next (Enter)" aria-label="Next result" + on:click={navigateToNext} >
-