Fixes unset active shelf in shelve button pulldown

This commit is contained in:
Mouse Reeve
2020-11-20 10:05:37 -08:00
parent 80be079132
commit 448efff648
2 changed files with 1 additions and 19 deletions

View File

@ -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>