fix: Don't show reply popup all the time
This commit is contained in:
1 parent
bb62fd0a9b
commit
55f5b3591a
1 file changed
+15
-13
@@ -129,20 +129,22 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{#if isPrivateMessage(item)}
|
{#if isPrivateMessage(item)}
|
||||||
<div class="mt-2 flex flex-col gap-2">
|
{#if replying}
|
||||||
<TextArea placeholder="Message" bind:value={reply} rows={3} />
|
<div class="mt-2 flex flex-col gap-2">
|
||||||
<div class="ml-auto w-24">
|
<TextArea placeholder="Message" bind:value={reply} rows={3} />
|
||||||
<Button
|
<div class="ml-auto w-24">
|
||||||
disabled={loading}
|
<Button
|
||||||
{loading}
|
disabled={loading}
|
||||||
on:click={() => replyToMessage(item)}
|
{loading}
|
||||||
color="primary"
|
on:click={() => replyToMessage(item)}
|
||||||
size="sm"
|
color="primary"
|
||||||
>
|
size="sm"
|
||||||
Submit
|
>
|
||||||
</Button>
|
Submit
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
</Card>
|
</Card>
|
||||||
Reference in new issue
Block a user