diff options
author | K-J-Dod24 <kieran.dodson@complexus.uk> | 2023-05-10 11:19:20 +0100 |
---|---|---|
committer | K-J-Dod24 <kieran.dodson@complexus.uk> | 2023-05-10 11:19:20 +0100 |
commit | 797fef3ed402af9e2a9143b1dbf5ce94942455de (patch) | |
tree | 049078f444310cb4f7f75ba45606547fa34dca0a /modern/src/common/components | |
parent | 024e3a7633feec4e55da8b41b9f67d3155a0b991 (diff) | |
download | trackermap-web-797fef3ed402af9e2a9143b1dbf5ce94942455de.tar.gz trackermap-web-797fef3ed402af9e2a9143b1dbf5ce94942455de.tar.bz2 trackermap-web-797fef3ed402af9e2a9143b1dbf5ce94942455de.zip |
io32 coolant temperature fix
Diffstat (limited to 'modern/src/common/components')
-rw-r--r-- | modern/src/common/components/PositionValue.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modern/src/common/components/PositionValue.js b/modern/src/common/components/PositionValue.js index 2f996960..56114ed3 100644 --- a/modern/src/common/components/PositionValue.js +++ b/modern/src/common/components/PositionValue.js @@ -45,6 +45,10 @@ const PositionValue = ({ position, property, attribute }) => { return formatAltitude(value, altitudeUnit, t); case 'batteryLevel': return value != null ? formatPercentage(value, t) : ''; + case 'coolantTemp': + return formatCelsius(value); + case 'engineTemp': + return formatCelsius(value); case 'alarm': return formatAlarm(value, t); case 'odometer': |