Merge branch 'from/edit-status/tusooa/1' into 'add/edit-status'
Display attachment description updates properly See merge request seanking/pleroma-fe!2
This commit is contained in:
commit
15005a2a50
|
@ -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 }"
|
||||||
>
|
>
|
||||||
|
@ -257,7 +257,7 @@
|
||||||
@keydown.enter.prevent=""
|
@keydown.enter.prevent=""
|
||||||
>
|
>
|
||||||
<p v-else>
|
<p v-else>
|
||||||
{{ localDescription }}
|
{{ attachment.description }}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue