diff --git a/src/lib/components/DiscussionsFeed.svelte b/src/lib/components/DiscussionsFeed.svelte index 1999ca4..786fc6a 100644 --- a/src/lib/components/DiscussionsFeed.svelte +++ b/src/lib/components/DiscussionsFeed.svelte @@ -131,6 +131,10 @@ const rows = $derived( threadStore.threads.map((t) => toRow(t, threadStore.profiles)), ); + + const empty = $derived( + rows.length === 0 && !threadStore.loading && threadStore.exhausted, + ); @@ -138,7 +142,7 @@

{title}

- {#if !showPrivateGate && !checkingAccess} + {#if !showPrivateGate && !checkingAccess && !empty}
+ {:else if empty} +
+

+ This room is still empty +

+ +
{:else}
{#each rows as thread}