🐛 Fix conditional

Can't check for an image URL if there is no image!
This commit is contained in:
Lacey Williams Henschel
2023-03-03 13:18:02 -08:00
parent f97e2c44b5
commit ffddd0afa2

View File

@@ -24,7 +24,7 @@
<div class="space-y-3">
{% for author in library.authors.all %}
<div>
{% if author.image.url %}
{% if author.image %}
<img src="{{ author.image.url }}" alt="user" class="inline w-[47px] rounded mr-2" />
{% else %}
<i class="fas fa-user text-5xl mr-2 text-white/60"></i>