Refine analytics page and i18n

This commit is contained in:
Codex Agent
2026-01-12 11:03:55 +01:00
parent 2070e518af
commit 9201207dc9
5 changed files with 33 additions and 5 deletions

View File

@@ -0,0 +1,7 @@
export function resolveMaxCount(values: number[]): number {
if (!Array.isArray(values) || values.length === 0) {
return 1;
}
return Math.max(...values, 1);
}