From 73d255b68ae6a7a6406d3f0b644fdb265f14a97e Mon Sep 17 00:00:00 2001 From: Glukhov Mikhail Date: Tue, 16 Jan 2024 11:17:46 +0300 Subject: Inventory: replacement of FAN ID with Name With a large number of FANs, a list of names is much easier to read than a list of IDs. Now the Name is in the header of the row, and the ID only when expanded. Change-Id: Ic8a08e28db7f747f9765f45dbbda504bf827fb25 Signed-off-by: Glukhov Mikhail --- src/views/HardwareStatus/Inventory/InventoryTableFans.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/HardwareStatus/Inventory/InventoryTableFans.vue b/src/views/HardwareStatus/Inventory/InventoryTableFans.vue index 9e26d903..62f0b76b 100644 --- a/src/views/HardwareStatus/Inventory/InventoryTableFans.vue +++ b/src/views/HardwareStatus/Inventory/InventoryTableFans.vue @@ -56,9 +56,9 @@
- -
{{ $t('pageInventory.table.name') }}:
-
{{ dataFormatter(item.name) }}
+ +
{{ $t('pageInventory.table.id') }}:
+
{{ dataFormatter(item.id) }}
@@ -133,8 +133,8 @@ export default { sortable: false, }, { - key: 'id', - label: this.$t('pageInventory.table.id'), + key: 'name', + label: this.$t('pageInventory.table.name'), formatter: this.dataFormatter, sortable: true, }, -- cgit v1.2.3