summaryrefslogtreecommitdiff
path: root/src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue
diff options
context:
space:
mode:
authorGlukhov Mikhail <mikl@greenfil.ru>2022-12-24 12:16:53 +0300
committerGlukhov Mikhail <mikl@greenfil.ru>2023-02-14 08:18:42 +0300
commitd0b078f692fc02578b0bfbc3868ce81516c71dd3 (patch)
treeb645511c121a8c3f583b6019f0b76f868d529f6b /src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue
parent713dae09ac29fe53ca76e44b7b3a75f114479eca (diff)
downloadwebui-vue-d0b078f692fc02578b0bfbc3868ce81516c71dd3.tar.xz
Reducing values to a common format
I use this patch to convert all values into the format <Description>:<Value><Unit of Measure>. I put the units of measure in a separate localization area in order to use them in the sensor page in the future. Change-Id: Ic6554860c4185bc4d681a97205051799c6637b5c Signed-off-by: Glukhov Mikhail <mikl@greenfil.ru>
Diffstat (limited to 'src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue')
-rw-r--r--src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue b/src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue
index 7d5dd700..793dbd86 100644
--- a/src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue
@@ -127,10 +127,16 @@
<dl>
<!-- Min Speed MHz -->
<dt>{{ $t('pageInventory.table.minSpeedMHz') }}:</dt>
- <dd>{{ dataFormatter(item.minSpeedMHz) }}</dd>
+ <dd>
+ {{ dataFormatter(item.minSpeedMHz) }}
+ {{ $t('unit.MHz') }}
+ </dd>
<!-- Max Speed MHz -->
<dt>{{ $t('pageInventory.table.maxSpeedMHz') }}:</dt>
- <dd>{{ dataFormatter(item.maxSpeedMHz) }}</dd>
+ <dd>
+ {{ dataFormatter(item.maxSpeedMHz) }}
+ {{ $t('unit.MHz') }}
+ </dd>
<!-- Total Cores -->
<dt>{{ $t('pageInventory.table.totalCores') }}:</dt>
<dd>{{ dataFormatter(item.totalCores) }}</dd>