1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-09 00:18:00 +01:00

fix: metrics one hour select label (#2712)

This commit is contained in:
Tymoteusz Czech 2022-12-19 16:27:21 +01:00 committed by GitHub
parent 025fdeea1a
commit 2c15841af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ export const FeatureMetricsHours = ({
const parseFeatureMetricsHour = (value: unknown) => {
switch (value) {
case '1':
return 2;
return 1;
case '24':
return 24;
default: