fix attachement desctiption null

This commit is contained in:
Beefox 2022-06-21 02:16:32 +10:00
parent 88172c1884
commit 167c4d8dca

View file

@ -55,7 +55,7 @@
<div
v-show="!isEmpty"
class="attachment-wrapper"
:class="{ 'no-alt-text': attachment.description.length === 0 }"
:class="{ 'no-alt-text': attachment.description === null || attachment.description.length === 0 }"
>
<!-- <div
v-if="attachment.description.length === 0 && false"