style: initialize firewall logs in Proxmox view for improved data handling and user experience

This commit is contained in:
2025-12-04 11:19:32 -05:00
parent 704fd81c10
commit 33144e96ae

View File

@@ -630,7 +630,7 @@
@if(count($firewallLogs) > 0)
<div
x-data="{
logs: [],
logs: @js($firewallLogs),
searchTerm: '',
sortField: 'timestamp_iso',
sortDirection: 'desc',
@@ -858,7 +858,6 @@
}
}
}"
x-init="initialize(@js($firewallLogs))"
x-effect="if (currentPage > totalPages && totalPages > 0) currentPage = totalPages"
class="space-y-4"
>