fix: resolves alert charts issue with 1 hr timerame (#2377)

This commit is contained in:
Amol Umbark 2023-02-24 15:09:30 +05:30 committed by GitHub
parent ab514cc0f2
commit 9d1305f174
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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