1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#15852: Hide count element for non-HTMX requests

This commit is contained in:
Jeremy Stretch
2024-05-02 16:11:50 -04:00
parent 3d4bb209ee
commit f8eee45ba3

View File

@ -13,4 +13,4 @@
{% endwith %}
{# 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>