diff --git a/src/lib/components/channel/Messages.svelte b/src/lib/components/channel/Messages.svelte index 2737c76c4..734f85cd8 100644 --- a/src/lib/components/channel/Messages.svelte +++ b/src/lib/components/channel/Messages.svelte @@ -11,6 +11,8 @@ dayjs.extend(isYesterday); import { tick, getContext, onMount, createEventDispatcher } from 'svelte'; + import { settings } from '$lib/stores'; + import Message from './Messages/Message.svelte'; import Loader from '../common/Loader.svelte'; import Spinner from '../common/Spinner.svelte'; @@ -57,12 +59,16 @@ {:else} -
+
{#if channel}
-
{channel.name}
+
{channel.name}
-
+
This channel was created on {dayjs(channel.created_at / 1000000).format( 'MMMM D, YYYY' )}. This is the very beginning of the {channel.name} @@ -75,6 +81,10 @@
{/if}
+ + {#if messageList.length > 0} +
+ {/if} {/if} {#each messageList as message, messageIdx (message.id)}