ui fixes for snapshot report

This commit is contained in:
2026-05-17 19:14:45 +05:30
parent ad62d7dd9c
commit 13f091a82c
12 changed files with 110 additions and 123 deletions

View File

@@ -35,11 +35,10 @@ export default function HistoryChart(props: HistoryChartProps) {
: 1;
const visibleCountMap = {
daily: 7,
weekly: 6,
monthly: 4,
yearly: 4,
fyly: 4,
full: 4,
all: 4,
};
const visibleCount = visibleCountMap[activeDataKey] ?? 4;