fix: show stars for favorite movies

This commit is contained in:
Cory Dransfeldt 2024-07-02 12:03:02 -07:00
parent c6b34cbba1
commit 8bd9b6fd06
No known key found for this signature in database
3 changed files with 6 additions and 8 deletions

View file

@ -10,11 +10,9 @@
<div class="header">{{ item.title }}</div>
<div class="subheader flex-centered">
{{ item.year }}
{% unless item.favorite %}
{% if item.rating %}
<span class="rating"> ({{ item.rating }})</span>
{% endif %}
{% endunless %}
{% if item.rating %}
<span class="rating"> ({{ item.rating }})</span>
{% endif %}
</div>
{% else %}
<div class="header">{{ item.name }}</div>