diff --git a/plugins/chunter-resources/src/components/threads/ThreadView.svelte b/plugins/chunter-resources/src/components/threads/ThreadView.svelte index 3f44ad1a1d..5f89e18f69 100644 --- a/plugins/chunter-resources/src/components/threads/ThreadView.svelte +++ b/plugins/chunter-resources/src/components/threads/ThreadView.svelte @@ -25,6 +25,7 @@ export let _id: Ref export let selectedMessageId: Ref | undefined = undefined + export let showHeader: boolean = true const messageQuery = createQuery() const dispatch = createEventDispatcher() @@ -43,19 +44,21 @@ let content: HTMLDivElement | undefined = undefined -
-
- - -
{ - dispatch('close') - }} - > - +{#if showHeader} +
+
+ + +
{ + dispatch('close') + }} + > + +
-
+{/if} {#if message}