mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-06 07:38:16 -06:00
Ensure model is defined when rendering bulk_edit_button
This commit is contained in:
parent
f7dd09da08
commit
a6634a2c8e
@ -15,7 +15,7 @@
|
||||
{% endwith %}
|
||||
</div>
|
||||
|
||||
{% if request.htmx %}
|
||||
{% if request.htmx and model %}
|
||||
{# Include the updated object count for display elsewhere on the page #}
|
||||
<div hx-swap-oob="innerHTML:.total-object-count">{{ table.rows|length }}</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user