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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user