fix: "today" statistics are not displayed in chart view (#13854)

pull/14033/head
mobiusy 12 months ago committed by GitHub
parent ee49d321c5
commit f3ad3a5dfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -53,7 +53,7 @@ export default function ChartView({ appId }: IChartViewProps) {
className='mt-0 !w-40'
onSelect={(item) => {
const id = item.value
const value = TIME_PERIOD_MAPPING[id]?.value || '-1'
const value = TIME_PERIOD_MAPPING[id]?.value ?? '-1'
const name = item.name || t('appLog.filter.period.allTime')
onSelect({ value, name })
}}

Loading…
Cancel
Save