diff --git a/netbox/templates/htmx/table.html b/netbox/templates/htmx/table.html index 171107c34..4bce37105 100644 --- a/netbox/templates/htmx/table.html +++ b/netbox/templates/htmx/table.html @@ -15,12 +15,12 @@ {% endwith %} -{% if request.htmx and model %} +{% if request.htmx %} {# Include the updated object count for display elsewhere on the page #}
{{ table.rows|length }}
{# Update the bulk action buttons with new query parameters #} - {% if actions %} + {% if actions and model %}
{% if 'bulk_edit' in actions %} {% bulk_edit_button model query_params=request.GET %}