From 7b6bd3ae858c5d7877f9ef137a3ff3d6f71ce1fc Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Tue, 1 Sep 2026 15:32:38 +0200 Subject: feat: Analyse and fix elevation issues --- web/frontend/ride-detail-boundaries.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/frontend/ride-detail-boundaries.ts') diff --git a/web/frontend/ride-detail-boundaries.ts b/web/frontend/ride-detail-boundaries.ts index 22a1255..a9bb8e1 100644 --- a/web/frontend/ride-detail-boundaries.ts +++ b/web/frontend/ride-detail-boundaries.ts @@ -118,6 +118,7 @@ export class RideBoundaryController { boundaryLabel(index: number): string { const point = this.points[index]; - return `${formatDistance(point.distanceKm)} · ${formatElevation(point.elevationM)}`; + const idx = point.index ?? index; + return `#${idx} · ${formatDistance(point.distanceKm)} · ${formatElevation(point.elevationM)}`; } } -- cgit v1.3