diff --git a/bookwyrm/templates/snippets/shelf_selector.html b/bookwyrm/templates/snippets/shelf_selector.html index f96f48a89..9a3fd2ce9 100644 --- a/bookwyrm/templates/snippets/shelf_selector.html +++ b/bookwyrm/templates/snippets/shelf_selector.html @@ -63,16 +63,18 @@ {% endfor %} {% if shelf.identifier == 'all' %} -{% for shelved_in in book.shelves.all %} +{% for user_shelf in user_shelves %} +{% if user_shelf in book.shelves.all %} +{% endif %} {% endfor %} {% else %}