mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 20:07:33 -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"/>
|
<MkTime :time="message.createdAt" class="time"/>
|
||||||
</header>
|
</header>
|
||||||
<div class="body">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</MkA>
|
</MkA>
|
||||||
|
|
Loading…
Reference in a new issue