Display description icon only if image has description

This commit is contained in:
Timothée Goguely 2024-10-09 18:01:28 +02:00
parent 647aeb2371
commit 82601600a9
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@
)
"
class="image"
:class="{ 'has-description': image.description.length > 0 }"
@click="imageDetails = image"
>
<span v-for="tag in image.tags" class="tag | btn btn--sm">{{