mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 11:01:54 +03:00
Make github comment thread readonly (#6830)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
f929acfe29
commit
b0ec9759b3
@ -244,7 +244,7 @@
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<slot name="content" />
|
||||
<slot name="content" {readonly} />
|
||||
|
||||
{#if !hideFooter}
|
||||
<Replies {embedded} object={message} />
|
||||
|
@ -105,7 +105,7 @@
|
||||
label={getEmbeddedLabel('reviewed')}
|
||||
/>
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="content">
|
||||
<svelte:fragment slot="content" let:readonly>
|
||||
<div class="file-content">
|
||||
{#if comments.length > 0}
|
||||
<Component
|
||||
@ -127,7 +127,11 @@
|
||||
<ReviewCommentPresenter {comment} />
|
||||
{/each}
|
||||
</div>
|
||||
<ReferenceInput showSend={true} showHeader showActions on:message={onMessage} />
|
||||
{#if !readonly}
|
||||
<div class="ml-4 mr-4">
|
||||
<ReferenceInput showSend={true} showHeader showActions on:message={onMessage} />
|
||||
</div>
|
||||
{/if}
|
||||
<div class="p-2 flex-row-center flex-grow">
|
||||
{#if githubConfiguration.ResolveThreadSupported}
|
||||
<Button
|
||||
|
Loading…
Reference in New Issue
Block a user