From ffddd0afa28768f6f7401b0051ce6107f5ca666a Mon Sep 17 00:00:00 2001 From: Lacey Williams Henschel Date: Fri, 3 Mar 2023 13:18:02 -0800 Subject: [PATCH] :bug: Fix conditional Can't check for an image URL if there is no image! --- templates/libraries/_library_list_item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/libraries/_library_list_item.html b/templates/libraries/_library_list_item.html index d97803a2..c59c73eb 100644 --- a/templates/libraries/_library_list_item.html +++ b/templates/libraries/_library_list_item.html @@ -24,7 +24,7 @@
{% for author in library.authors.all %}
- {% if author.image.url %} + {% if author.image %} user {% else %}