fix(dashboard): match methodology's logged-hours figure to the KPI tile's rounding

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Dave 2026-09-19 10:41:10 +02:00
parent 5d772ef672
commit a5b1c9ea2f

View file

@ -40,10 +40,9 @@ export function Methodology({ metrics }: { metrics: ProjectMetrics }) {
{metrics.manualMinutes > 0 && (
<p>
<span className="tabular">{Math.round(metrics.manualMinutes / 60)}</span>{" "}
{Math.round(metrics.manualMinutes / 60) === 1 ? "hour was" : "hours were"}{" "}
logged directly by the developer rather than estimated from commit
timing.
<span className="tabular">{(metrics.manualMinutes / 60).toFixed(1)}</span>{" "}
hours were logged directly by the developer rather than estimated
from commit timing.
</p>
)}