From ea41889b64c3e101b3fc56c8cb0c220b0fe410d4 Mon Sep 17 00:00:00 2001 From: "Joseph.Rawlings" Date: Wed, 3 Dec 2025 16:24:15 -0500 Subject: [PATCH] fix: update default historical period to '2_hours_ago' in statistics component and corresponding view, ensuring consistency in data retrieval options --- extensions/Servers/Proxmox/Livewire/Statistics.php | 2 +- extensions/Servers/Proxmox/views/statistics.blade.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/Servers/Proxmox/Livewire/Statistics.php b/extensions/Servers/Proxmox/Livewire/Statistics.php index 53cdfe8a8..4418e9723 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 = '1_hour_ago'; // Options: 1_hour_ago, 2_hours_ago, 6_hours_ago, 12_hours_ago, 24_hours_ago, custom + public string $historicalPeriod = '2_hours_ago'; // Options: 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 88fb7c06a..a4efbea5d 100644 --- a/extensions/Servers/Proxmox/views/statistics.blade.php +++ b/extensions/Servers/Proxmox/views/statistics.blade.php @@ -1711,7 +1711,6 @@