aboutsummaryrefslogtreecommitdiff
path: root/modern/src/common
diff options
context:
space:
mode:
authorK-J-Dod24 <kieran.dodson@complexus.uk>2023-05-16 08:48:48 +0100
committerK-J-Dod24 <kieran.dodson@complexus.uk>2023-05-16 08:48:48 +0100
commit8c93f087e15d7f4452169ef80f9f5ff22a9096e1 (patch)
tree4d7214502b58c67bebc1da1d145c65a842cc632f /modern/src/common
parentf11a92bdbc68df4696ed698b618420f643e39d42 (diff)
downloadtrackermap-web-8c93f087e15d7f4452169ef80f9f5ff22a9096e1.tar.gz
trackermap-web-8c93f087e15d7f4452169ef80f9f5ff22a9096e1.tar.bz2
trackermap-web-8c93f087e15d7f4452169ef80f9f5ff22a9096e1.zip
removed Engine temp (115)
Diffstat (limited to 'modern/src/common')
-rw-r--r--modern/src/common/attributes/usePositionAttributes.js4
-rw-r--r--modern/src/common/components/PositionValue.js2
2 files changed, 0 insertions, 6 deletions
diff --git a/modern/src/common/attributes/usePositionAttributes.js b/modern/src/common/attributes/usePositionAttributes.js
index a2fab896..2c3aa0f7 100644
--- a/modern/src/common/attributes/usePositionAttributes.js
+++ b/modern/src/common/attributes/usePositionAttributes.js
@@ -108,10 +108,6 @@ export default (t) => useMemo(() => ({
name: t('positionCoolantTemp'),
type: 'number',
},
- engineTemp: {
- name: t('positionEngineTemp'),
- type: 'number',
- },
gps: {
name: t('positionGps'),
type: 'number',
diff --git a/modern/src/common/components/PositionValue.js b/modern/src/common/components/PositionValue.js
index 525a7047..6ff7c7ad 100644
--- a/modern/src/common/components/PositionValue.js
+++ b/modern/src/common/components/PositionValue.js
@@ -47,8 +47,6 @@ const PositionValue = ({ position, property, attribute }) => {
return value != null ? formatPercentage(value, t) : '';
case 'coolantTemp':
return formatCelsius(value);
- case 'engineTemp':
- return formatCelsius(value);
case 'alarm':
return formatAlarm(value, t);
case 'odometer':