Fix wrong System Manufacturer in Hardware Inventory
System Manufacturer inside HardwareStatus -> Inventory mistakenly uses
assetTag instead of manufacturer.
Fix the issue by using item.manufacturer for Manufacturer.
Tested:
1. Login to WebUI and check if System Manufacturer shows correctly.
Signed-off-by: Thang Q. Nguyen <thang@os.amperecomputing.com>
Change-Id: Ib856e8b66c49dbb71506f45c4c01dbcb79bea52c
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
index d803023..20d63d7 100644
--- a/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryTableSystem.vue
@@ -81,7 +81,7 @@
<dl>
<!-- Manufacturer -->
<dt>{{ $t('pageInventory.table.manufacturer') }}:</dt>
- <dd>{{ dataFormatter(item.assetTag) }}</dd>
+ <dd>{{ dataFormatter(item.manufacturer) }}</dd>
<!-- Description -->
<dt>{{ $t('pageInventory.table.description') }}:</dt>
<dd>{{ dataFormatter(item.description) }}</dd>