From 536d5847857726ed9b9de441c87733ff54d68e10 Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Wed, 3 Dec 2025 16:51:47 -0500 Subject: [PATCH] fix: update default historical period to '1_hour_ago' and add corresponding option in statistics view, enhancing user selection for data retrieval --- extensions/Servers/Proxmox/Livewire/Statistics.php | 2 +- extensions/Servers/Proxmox/views/statistics.blade.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/Servers/Proxmox/Livewire/Statistics.php b/extensions/Servers/Proxmox/Livewire/Statistics.php index 4aa4b5b2a..709ad2142 100644 --- a/extensions/Servers/Proxmox/Livewire/Statistics.php +++ b/extensions/Servers/Proxmox/Livewire/Statistics.php @@ -61,7 +61,7 @@ class Statistics extends Component protected array $serverIpCidrs = []; // Historical comparison settings - public string $historicalPeriod = '2_hours_ago'; // Options: 2_hours_ago, 6_hours_ago, 12_hours_ago, 24_hours_ago, custom + public string $historicalPeriod = '1_hour_ago'; // Options: 1_hour_ago, 2_hours_ago, 6_hours_ago, 12_hours_ago, 24_hours_ago, custom public string $currentPeriod = 'now'; // Options: now, 1_hour_ago, custom public ?string $historicalCustomDate = null; public ?string $currentCustomDate = null; diff --git a/extensions/Servers/Proxmox/views/statistics.blade.php b/extensions/Servers/Proxmox/views/statistics.blade.php index aaf827999..88fb7c06a 100644 --- a/extensions/Servers/Proxmox/views/statistics.blade.php +++ b/extensions/Servers/Proxmox/views/statistics.blade.php @@ -1711,6 +1711,7 @@
+