From 2ec01803e0782ea4fb1cf2619534f913187ed824 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 24 Aug 2021 14:16:22 -0700 Subject: [PATCH] Fixes error for logged out user viewing lists --- bookwyrm/templates/lists/list_items.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/templates/lists/list_items.html b/bookwyrm/templates/lists/list_items.html index 5efa2450..9c7e1710 100644 --- a/bookwyrm/templates/lists/list_items.html +++ b/bookwyrm/templates/lists/list_items.html @@ -10,7 +10,7 @@

{{ list.name }} {% include 'snippets/privacy-icons.html' with item=list %}

- {% if request.user|saved:list %} + {% if request.user.is_authenticated and request.user|saved:list %}
{% trans "Saved" as text %}