aboutsummaryrefslogtreecommitdiff
path: root/web/frontend/ride-detail.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/frontend/ride-detail.ts')
-rw-r--r--web/frontend/ride-detail.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/frontend/ride-detail.ts b/web/frontend/ride-detail.ts
index dcebbe4..2bd6622 100644
--- a/web/frontend/ride-detail.ts
+++ b/web/frontend/ride-detail.ts
@@ -75,7 +75,7 @@ export const mountRideDetail = (): void => {
passes,
colors: mapColors,
});
- const officialProfileController = new OfficialClimbProfileController(points);
+ const officialProfileController = new OfficialClimbProfileController(profile);
let boundaryController: RideBoundaryController | undefined;
const profileCanvas = new RideProfileCanvas({
canvas: profileCanvasElement,