Display description icon only if image has description
This commit is contained in:
parent
647aeb2371
commit
82601600a9
2 changed files with 2 additions and 1 deletions
|
|
@ -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">{{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue