diff options
author | Glukhov Mikhail <mikl@greenfil.ru> | 2024-01-16 11:17:46 +0300 |
---|---|---|
committer | Gunnar Mills <gunnar@gmills.xyz> | 2024-02-23 17:55:34 +0300 |
commit | 73d255b68ae6a7a6406d3f0b644fdb265f14a97e (patch) | |
tree | e238ad7339d3bba1fb5d88089d891d9bb648970a /src/views/HardwareStatus | |
parent | e19c981b4f6d3d27355a781ec9687337554af7b5 (diff) | |
download | webui-vue-73d255b68ae6a7a6406d3f0b644fdb265f14a97e.tar.xz |
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 <mikl@greenfil.ru>
Diffstat (limited to 'src/views/HardwareStatus')
-rw-r--r-- | src/views/HardwareStatus/Inventory/InventoryTableFans.vue | 10 |
1 files 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 @@ <b-row> <b-col sm="6" xl="4"> <dl> - <!-- Name --> - <dt>{{ $t('pageInventory.table.name') }}:</dt> - <dd>{{ dataFormatter(item.name) }}</dd> + <!-- ID --> + <dt>{{ $t('pageInventory.table.id') }}:</dt> + <dd>{{ dataFormatter(item.id) }}</dd> </dl> <dl> <!-- Serial number --> @@ -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, }, |