summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Kosenkov <NKosenkov@IBS.RU>2022-08-26 21:25:54 +0300
committerNikita Kosenkov <NKosenkov@IBS.RU>2022-08-26 21:25:54 +0300
commit10f5207c77b16b46f637f77520964c82226d27fb (patch)
tree317efa9c50cb74b4a7e71caa478bf3246bd7c8da
parent5463c8aec08dfa07a01f95646e44a3b4bee070fe (diff)
downloadwebui-vue-10f5207c77b16b46f637f77520964c82226d27fb.tar.xz
add manufacturer property in dimm table
-rw-r--r--src/store/modules/HardwareStatus/MemoryStore.js2
-rw-r--r--src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue5
2 files changed, 7 insertions, 0 deletions
diff --git a/src/store/modules/HardwareStatus/MemoryStore.js b/src/store/modules/HardwareStatus/MemoryStore.js
index 21e07598..5a116f63 100644
--- a/src/store/modules/HardwareStatus/MemoryStore.js
+++ b/src/store/modules/HardwareStatus/MemoryStore.js
@@ -31,6 +31,7 @@ const MemoryStore = {
Description,
MemoryType,
MemorySize,
+ Manufacturer,
LocationIndicatorActive,
Location,
} = data;
@@ -50,6 +51,7 @@ const MemoryStore = {
description: Description,
memoryType: MemoryType,
memorySize: MemorySize,
+ manufacturer: Manufacturer,
identifyLed: LocationIndicatorActive,
uri: data['@odata.id'],
locationNumber: Location?.PartLocation?.ServiceLabel,
diff --git a/src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue b/src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue
index 40c30d4c..249ab728 100644
--- a/src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue
+++ b/src/views/_sila/Overview/Inventory/InventoryTableDimmSlot.vue
@@ -112,6 +112,11 @@
<b-row>
<b-col sm="6" xl="6">
<dl>
+ <!-- Manufacturer -->
+ <dt>{{ $t('pageInventory.table.manufacturer') }}:</dt>
+ <dd>{{ dataFormatter(item.manufacturer) }}</dd>
+ </dl>
+ <dl>
<!-- Description -->
<dt>{{ $t('pageInventory.table.description') }}:</dt>
<dd>{{ dataFormatter(item.description) }}</dd>