summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Aladyshev <aladyshev22@gmail.com>2021-08-02 14:35:06 +0300
committerKonstantin Aladyshev <aladyshev22@gmail.com>2021-08-30 10:23:05 +0300
commita69102a268875723090485cf29d53617561580b1 (patch)
tree7df94c9ded05eafe8af4c4b1b6a0435578c397b4
parent4dd7eabfa4476e264e051dc0178a333452a6b175 (diff)
downloadwebui-vue-a69102a268875723090485cf29d53617561580b1.tar.xz
Use a 'V' symbol for voltage unit
Currently webui-vue displays all sensor data with units written as symbols ('A', 'W', 'C', 'RPM') except for voltage which is written as 'Volts'. Use a 'V' symbol for voltage unit for unification. Change-Id: I257b6d6bf1d099f62a861430a6448368b56dace1 Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
-rw-r--r--src/store/modules/HardwareStatus/SensorsStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/modules/HardwareStatus/SensorsStore.js b/src/store/modules/HardwareStatus/SensorsStore.js
index 0af2a95b..287796d9 100644
--- a/src/store/modules/HardwareStatus/SensorsStore.js
+++ b/src/store/modules/HardwareStatus/SensorsStore.js
@@ -110,7 +110,7 @@ const SensorsStore = {
upperCaution: sensor.UpperThresholdNonCritical,
lowerCritical: sensor.LowerThresholdCritical,
upperCritical: sensor.UpperThresholdCritical,
- units: 'Volts',
+ units: 'V',
};
});
commit('setSensors', sensorData);