Skip to content

Commit

Permalink
Fix latest item in carousel mode by checking for thumbnails
Browse files Browse the repository at this point in the history
  • Loading branch information
ohinckel committed Aug 4, 2024
1 parent 0a826df commit 3839917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/jinja2/common/base.library.html
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,7 @@ <h6 class="card-subtitle mb-2 text-muted text-center">{{ title }}</h6>
</div>
{% elif style == 'carousel' %}
<div class="d-flex justify-content-center">
{% if items|selectattr('data_mime')|list %}
{% if items|selectattr('thumbnail')|list %}
<div id="{{ id }}" class="carousel slide mt-2 w-75 h-75" data-bs-ride="carousel">
<div class="carousel-indicators">
{% for item in items %}
Expand Down

0 comments on commit 3839917

Please sign in to comment.