From 8c93f087e15d7f4452169ef80f9f5ff22a9096e1 Mon Sep 17 00:00:00 2001 From: K-J-Dod24 Date: Tue, 16 May 2023 08:48:48 +0100 Subject: removed Engine temp (115) --- modern/src/common/attributes/usePositionAttributes.js | 4 ---- modern/src/common/components/PositionValue.js | 2 -- 2 files changed, 6 deletions(-) (limited to 'modern/src/common') 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': -- cgit v1.2.3