fix: update default historical period to '1_hour_ago' and add corresponding option in statistics view, enhancing user selection for data retrieval

This commit is contained in:
2025-12-03 16:51:47 -05:00
parent 27fcac14d2
commit 536d584785
2 changed files with 3 additions and 1 deletions

View File

@@ -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;