mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-22 18:07:31 -07:00
feat: show 📎 in chats if only attachment
This commit is contained in:
parent
7abc94d07a
commit
ad8ab87214
1 changed files with 5 additions and 1 deletions
|
@ -27,7 +27,11 @@
|
|||
<MkTime :time="message.createdAt" class="time"/>
|
||||
</header>
|
||||
<div class="body">
|
||||
<p class="text"><span v-if="isMe(message)" class="me">{{ $ts.you }}:</span>{{ message.text }}</p>
|
||||
<p class="text">
|
||||
<span v-if="isMe(message)" class="me">{{ $ts.you }}:</span>
|
||||
<span v-if="message.text != null && message.text.length > 0">{{ message.text }}</span>
|
||||
<span v-else> 📎</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</MkA>
|
||||
|
|
Loading…
Reference in a new issue