feat: separate metions lines on replying

This commit is contained in:
Anthony Fu 2023-01-13 01:33:04 +01:00
parent 9476d14d6c
commit 9571d7338a
4 changed files with 17 additions and 6 deletions

View file

@ -120,6 +120,12 @@ defineExpose({
border="2 dashed transparent"
:class="[isSending ? 'pointer-events-none' : '', isOverDropZone ? '!border-primary' : '']"
>
<ContentMentionGroup v-if="draft.mentions?.length && shouldExpanded">
<div v-for="m of draft.mentions" :key="m" text-primary>
@{{ m }}
</div>
</ContentMentionGroup>
<div v-if="draft.params.sensitive">
<input
v-model="draft.params.spoilerText"