Merge pull request #1883 from bookwyrm-social/cache-fix

Fixes bad cache on status shelve buttons
This commit is contained in:
Mouse Reeve 2022-01-30 07:19:30 -08:00 committed by GitHub
commit 6983884eaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,6 @@
{% load cache %}
{% if not hide_book %}
{% cache 259200 generated_status_book status.id %}
{% with book=status.book|default:status.mention_books.first %}
<div class="columns is-mobile is-gapless">
<a class="column is-cover is-narrow" href="{{ book.local_path }}">
@ -26,7 +25,6 @@
</div>
</div>
{% endwith %}
{% endcache %}
{% endif %}
{% endspaceless %}