Browse Source

#15852: Hide count element for non-HTMX requests

Jeremy Stretch 1 year ago
parent
commit
f8eee45ba3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/templates/htmx/table.html

+ 1 - 1
netbox/templates/htmx/table.html

@@ -13,4 +13,4 @@
 {% endwith %}
 {% endwith %}
 
 
 {# Include the updated object count for display elsewhere on the page #}
 {# Include the updated object count for display elsewhere on the page #}
-<div hx-swap-oob="innerHTML:.total-object-count">{{ table.rows|length }}</div>
+<div class="d-none" hx-swap-oob="innerHTML:.total-object-count">{{ table.rows|length }}</div>