diff --git a/plugins/chunter-resources/src/components/CommentPopup.svelte b/plugins/chunter-resources/src/components/CommentPopup.svelte index 79390bbe7d..5d7afd195c 100644 --- a/plugins/chunter-resources/src/components/CommentPopup.svelte +++ b/plugins/chunter-resources/src/components/CommentPopup.svelte @@ -20,11 +20,13 @@ import { createQuery } from '@hcengineering/presentation' import { Label, resizeObserver, Spinner } from '@hcengineering/ui' import { DocNavLink, ObjectPresenter } from '@hcengineering/view-resources' - import CommentPresenter from './CommentPresenter.svelte' import { createEventDispatcher } from 'svelte' + import CommentInput from './CommentInput.svelte' + import CommentPresenter from './CommentPresenter.svelte' export let objectId: Ref export let object: Doc + export let withInput: boolean = true let loading = true @@ -68,6 +70,11 @@ {/each} {/if} +{#if withInput} +
+ +
+{/if}