mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-10 17:25:35 +00:00
Don't show a button for the shelf a book is currently on
This will lead to nonsensical modal states
This commit is contained in:
parent
92dbfec5f8
commit
9b4a498661
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
{% for shelf in shelves %}
|
||||
{% comparison_bool shelf.identifier active_shelf.shelf.identifier as is_current %}
|
||||
{% if not is_current %}
|
||||
<li role="menuitem" class="dropdown-item p-0">
|
||||
<div
|
||||
class="{% if next_shelf_identifier == shelf.identifier %}is-hidden{% endif %}"
|
||||
|
@ -53,6 +54,7 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if readthrough and active_shelf.shelf.identifier != 'read' %}
|
||||
|
|
Loading…
Reference in a new issue