elevation profile reactive to unit changes

This commit is contained in:
vcoppe committed 2024-04-24 16:53:33 +02:00
1 parent 78b7612171
commit c9bf4bc401
2 files changed
+42 -22

No files matched your search

+2 -2
View File
@@ -49,9 +49,9 @@ export function getVelocityWithUnits(value: number, convert: boolean = true) {
}
} else {
if (convert) {
return secondsToHHMMSS(getConvertedVelocity(value));
return secondsToHHMMSS(getConvertedVelocity(value)) + ' ' + getVelocityUnits();
} else {
return secondsToHHMMSS(value);
return secondsToHHMMSS(value) + ' ' + getVelocityUnits();
}
}
}