diff --git a/app/evaluation/[days]/[...ical-link]/page.tsx b/app/evaluation/[days]/[...ical-link]/page.tsx index e717b0c..3a5e75e 100644 --- a/app/evaluation/[days]/[...ical-link]/page.tsx +++ b/app/evaluation/[days]/[...ical-link]/page.tsx @@ -108,6 +108,7 @@ export default async function EvaluationPage({ params }: PageProps) { Kategorie Dauer Anteil + Insg. Anteil @@ -120,6 +121,9 @@ export default async function EvaluationPage({ params }: PageProps) { {total > 0 ? Math.round((minutes / total) * 1000) / 10 : 0}% + + {total > 0 ? Math.round((minutes / (daysToFetch * 24 * 60)) * 1000) / 10 : 0}% + ))} @@ -130,6 +134,9 @@ export default async function EvaluationPage({ params }: PageProps) { {Math.floor(total / 60)} Std. {Math.round(total % 60)} Min. ({Math.round(total)} Min. gesamt) 100% + + {total > 0 ? Math.round((total / (daysToFetch * 24 * 60)) * 1000) / 10 : 0}% + @@ -190,7 +197,6 @@ export default async function EvaluationPage({ params }: PageProps) { display: 'inline-block', background: '#white', border: '1px solid #e5e7eb', - color: 'black', padding: '2px 8px', borderRadius: '4px', fontSize: '0.85rem',