aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common/components
diff options
context:
space:
mode:
authorgeduxas <gediminas.vileikis@gmail.com>2023-09-22 06:32:57 +0000
committergeduxas <gediminas.vileikis@gmail.com>2023-09-22 06:32:57 +0000
commit54167a919565d6bafde37c9023c0062cd82fbd65 (patch)
tree6fcf7629ebeca8c845fe8bacc75056fa122073f4 /modern/src/common/components
parentab2e8e4a574959567935f1e1543ded197be03072 (diff)
downloadtrackermap-web-54167a919565d6bafde37c9023c0062cd82fbd65.tar.gz
trackermap-web-54167a919565d6bafde37c9023c0062cd82fbd65.tar.bz2
trackermap-web-54167a919565d6bafde37c9023c0062cd82fbd65.zip
Fixed
Diffstat (limited to 'modern/src/common/components')
-rw-r--r--modern/src/common/components/PositionValue.jsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/modern/src/common/components/PositionValue.jsx b/modern/src/common/components/PositionValue.jsx
index 9c49b7e7..58841939 100644
--- a/modern/src/common/components/PositionValue.jsx
+++ b/modern/src/common/components/PositionValue.jsx
@@ -53,9 +53,8 @@ const PositionValue = ({ position, property, attribute }) => {
case 'longitude':
return formatCoordinate('longitude', value, coordinateFormat);
case 'speed':
- return value != null ? formatSpeed(value, speedUnit, t) : '';
case 'obdSpeed':
- return value != null ? formatSpeed(value, speedUnit, t, 'kmh') : '';
+ return value != null ? formatSpeed(value, speedUnit, t) : '';
case 'course':
return formatCourse(value);
case 'altitude':