From 9b4a49866114cef37802a82f48a6db4e1d38e14d Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 26 May 2022 11:19:49 -0700 Subject: [PATCH] Don't show a button for the shelf a book is currently on This will lead to nonsensical modal states --- .../snippets/shelve_button/shelve_button_dropdown_options.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/templates/snippets/shelve_button/shelve_button_dropdown_options.html b/bookwyrm/templates/snippets/shelve_button/shelve_button_dropdown_options.html index 50d3e257..bc5ff24a 100644 --- a/bookwyrm/templates/snippets/shelve_button/shelve_button_dropdown_options.html +++ b/bookwyrm/templates/snippets/shelve_button/shelve_button_dropdown_options.html @@ -6,6 +6,7 @@ {% for shelf in shelves %} {% comparison_bool shelf.identifier active_shelf.shelf.identifier as is_current %} + {% if not is_current %} + {% endif %} {% endfor %} {% if readthrough and active_shelf.shelf.identifier != 'read' %}