logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 131febe653915846ad417ab2aabd6d58cab407e1
parent 77e6aa696851f46674fa0266f0ca5849a4a562c1
Author: Tusooa Zhu <tusooa@kazv.moe>
Date:   Sat, 11 Jun 2022 18:06:46 -0400

Display attachment description updates properly

Diffstat:

Msrc/components/attachment/attachment.vue6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue @@ -166,7 +166,7 @@ :icon="placeholderIconClass" /> <p> - {{ localDescription }} + {{ edit ? localDescription : attachment.description }} </p> </a> @@ -244,7 +244,7 @@ </span> </div> <div - v-if="size !== 'hide' && !hideDescription && (edit || (localDescription && showDescription))" + v-if="size !== 'hide' && !hideDescription && (edit || (attachment.description && showDescription))" class="description-container" :class="{ '-static': !edit }" > @@ -257,7 +257,7 @@ @keydown.enter.prevent="" > <p v-else> - {{ localDescription }} + {{ attachment.description }} </p> </div> </div>