Fixes unset active shelf in shelve button pulldown
This commit is contained in:
parent
80be079132
commit
448efff648
2 changed files with 1 additions and 19 deletions
|
@ -2,6 +2,7 @@
|
|||
{% if request.user.is_authenticated %}
|
||||
|
||||
{% with book.id|uuid as uuid %}
|
||||
{% active_shelf book as active_shelf %}
|
||||
<div class="field is-grouped">
|
||||
{% if active_shelf.identifier == 'read' %}
|
||||
<button class="button is-small" disabled>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue