From d0b078f692fc02578b0bfbc3868ce81516c71dd3 Mon Sep 17 00:00:00 2001 From: Glukhov Mikhail Date: Sat, 24 Dec 2022 12:16:53 +0300 Subject: Reducing values to a common format I use this patch to convert all values into the format :. 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 --- .../HardwareStatus/Inventory/InventoryTableProcessors.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/views/HardwareStatus/Inventory/InventoryTableProcessors.vue') 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 @@
{{ $t('pageInventory.table.minSpeedMHz') }}:
-
{{ dataFormatter(item.minSpeedMHz) }}
+
+ {{ dataFormatter(item.minSpeedMHz) }} + {{ $t('unit.MHz') }} +
{{ $t('pageInventory.table.maxSpeedMHz') }}:
-
{{ dataFormatter(item.maxSpeedMHz) }}
+
+ {{ dataFormatter(item.maxSpeedMHz) }} + {{ $t('unit.MHz') }} +
{{ $t('pageInventory.table.totalCores') }}:
{{ dataFormatter(item.totalCores) }}
-- cgit v1.2.3