diff --git a/src/lib/components/channel/Channel.svelte b/src/lib/components/channel/Channel.svelte index 378bd9d96f..4e3844409b 100644 --- a/src/lib/components/channel/Channel.svelte +++ b/src/lib/components/channel/Channel.svelte @@ -22,6 +22,7 @@ import EllipsisVertical from '../icons/EllipsisVertical.svelte'; import Thread from './Thread.svelte'; import i18n from '$lib/i18n'; + import Spinner from '../common/Spinner.svelte'; export let id = ''; @@ -289,8 +290,8 @@ }} /> -
- {#if channel} + {#if channel && messages !== null} +
{/key}
- {/if} -
+
-
- -
+
+ +
+ {:else} +
+
+ +
+
+ {/if} {#if !largeScreen} diff --git a/src/lib/components/channel/Navbar.svelte b/src/lib/components/channel/Navbar.svelte index 995b496601..936718b200 100644 --- a/src/lib/components/channel/Navbar.svelte +++ b/src/lib/components/channel/Navbar.svelte @@ -117,40 +117,42 @@
- - - - - {#if channel?.user_count !== undefined} - + {#if channel} + + + {#if channel?.user_count !== undefined} + + + + {/if} {/if} {#if $user !== undefined}