From 36255eebcf06eb74b6dec5f12011b478fd187a7e Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Thu, 26 Mar 2026 04:24:22 -0400 Subject: [PATCH] Refactor statistics view: update variable declarations for better scope management; enhance error handling in cleanup process; remove redundant noData configuration in chart options --- extensions/Servers/Proxmox/views/statistics.blade.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/extensions/Servers/Proxmox/views/statistics.blade.php b/extensions/Servers/Proxmox/views/statistics.blade.php index cf61169c0..c6a7b22d9 100644 --- a/extensions/Servers/Proxmox/views/statistics.blade.php +++ b/extensions/Servers/Proxmox/views/statistics.blade.php @@ -1246,7 +1246,7 @@ }" x-init=" // Function to restore task details - var restoreTaskDetails = function() { + let restoreTaskDetails = function() { if (expanded && !taskDetails && !loading) { loading = true; $wire.getTaskDetails('{{ $taskUpid }}').then(function(data) { @@ -4012,6 +4012,8 @@ @script