fix: monitors page & pagination

This commit is contained in:
2025-06-01 14:07:29 -05:00
parent b1ccf3bf00
commit 393e3ef41f
8 changed files with 90 additions and 10 deletions

View File

@@ -61,10 +61,10 @@
</td>
</tr>
{% endfor %}
{% if this.userMonitors.items|length > 5 %}
{% if this.isWidget and this.userMonitors.items|length > 5 %}
<tr id="monitor_view_all">
<td colspan="100%" class="py-2 whitespace-nowrap bg-orange-500 uppercase text-sm font-medium text-center text-white min-w-[50ch] max-w-[50ch] truncate">
<a href="#">View All Monitors</a>
<a href="{{ path('app_monitors') }}">View All Monitors</a>
</td>
</tr>
{% endif %}