mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-03 09:12:30 +00:00
elevation profile reactive to unit changes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user