From ec7b321709904463cad09068698c66b7e6a4ceed Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Tue, 2 Dec 2025 16:22:11 -0500 Subject: [PATCH] refactor: streamline log initialization in Proxmox Firewall view by ensuring logs are only set once, enhancing data management and preventing redundant assignments --- .../Servers/Proxmox/views/firewall.blade.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/extensions/Servers/Proxmox/views/firewall.blade.php b/extensions/Servers/Proxmox/views/firewall.blade.php index 1255a43a6..c4077ea2a 100644 --- a/extensions/Servers/Proxmox/views/firewall.blade.php +++ b/extensions/Servers/Proxmox/views/firewall.blade.php @@ -314,12 +314,16 @@ @endif - @if(count($firewallLogs) > 0) - @once - - @endonce + window.firewallLogsLoaded = true; + } + + @endonce + + @if(count($firewallLogs) > 0 || !empty($firewallLogs))