style: initialize firewall logs in Proxmox view for improved data handling and user experience
This commit is contained in:
@@ -630,7 +630,7 @@
|
|||||||
@if(count($firewallLogs) > 0)
|
@if(count($firewallLogs) > 0)
|
||||||
<div
|
<div
|
||||||
x-data="{
|
x-data="{
|
||||||
logs: [],
|
logs: @js($firewallLogs),
|
||||||
searchTerm: '',
|
searchTerm: '',
|
||||||
sortField: 'timestamp_iso',
|
sortField: 'timestamp_iso',
|
||||||
sortDirection: 'desc',
|
sortDirection: 'desc',
|
||||||
@@ -858,7 +858,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}"
|
}"
|
||||||
x-init="initialize(@js($firewallLogs))"
|
|
||||||
x-effect="if (currentPage > totalPages && totalPages > 0) currentPage = totalPages"
|
x-effect="if (currentPage > totalPages && totalPages > 0) currentPage = totalPages"
|
||||||
class="space-y-4"
|
class="space-y-4"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user