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:
parent
5d772ef672
commit
a5b1c9ea2f
1 changed files with 3 additions and 4 deletions
|
|
@ -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>
|
||||
)}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue