mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe
synced 2025-05-01 03:19:29 +08:00
Display attachment description updates properly
This commit is contained in:
parent
98c9cd4a6d
commit
356bb5d05c
1 changed files with 3 additions and 3 deletions
|
@ -166,7 +166,7 @@
|
||||||
:icon="placeholderIconClass"
|
:icon="placeholderIconClass"
|
||||||
/>
|
/>
|
||||||
<p>
|
<p>
|
||||||
{{ localDescription }}
|
{{ edit ? localDescription : attachment.description }}
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -244,7 +244,7 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="size !== 'hide' && !hideDescription && (edit || (localDescription && showDescription))"
|
v-if="size !== 'hide' && !hideDescription && (edit || (attachment.description && showDescription))"
|
||||||
class="description-container"
|
class="description-container"
|
||||||
:class="{ '-static': !edit }"
|
:class="{ '-static': !edit }"
|
||||||
>
|
>
|
||||||
|
@ -259,7 +259,7 @@
|
||||||
@input="resize"
|
@input="resize"
|
||||||
/>
|
/>
|
||||||
<p v-else>
|
<p v-else>
|
||||||
{{ localDescription }}
|
{{ attachment.description }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue