mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-08-12 04:39:01 +08:00
fix: resolves alert charts issue with 1 hr timerame (#2377)
This commit is contained in:
parent
ab514cc0f2
commit
9d1305f174
@ -104,7 +104,7 @@ function RuleOptions({
|
||||
<Option value="5m0s">{t('option_5min')}</Option>
|
||||
<Option value="10m0s">{t('option_10min')}</Option>
|
||||
<Option value="15m0s">{t('option_15min')}</Option>
|
||||
<Option value="60m0s">{t('option_60min')}</Option>
|
||||
<Option value="1h0m0s">{t('option_60min')}</Option>
|
||||
<Option value="4h0m0s">{t('option_4hours')}</Option>
|
||||
<Option value="24h0m0s">{t('option_24hours')}</Option>
|
||||
</InlineSelect>
|
||||
|
@ -132,7 +132,7 @@ export const toChartInterval = (evalWindow: string | undefined): Time => {
|
||||
return '15min';
|
||||
case '30m0s':
|
||||
return '30min';
|
||||
case '60m0s':
|
||||
case '1h0m0s':
|
||||
return '1hr';
|
||||
case '4h0m0s':
|
||||
return '4hr';
|
||||
|
Loading…
x
Reference in New Issue
Block a user