Refactors block button for query efficiency

This commit is contained in:
Mouse Reeve
2021-05-22 20:36:30 -07:00
parent 9285f483c2
commit bdf267dea5
6 changed files with 13 additions and 8 deletions

View File

@ -18,7 +18,7 @@
<a href="{{ user.local_path }}">{% include 'snippets/avatar.html' with user=user %} {{ user.display_name }}</a>
</p>
<p class="mr-2">
{% include 'snippets/block_button.html' with user=user %}
{% include 'snippets/block_button.html' with user=user blocks=True %}
</p>
</li>
{% endfor %}