summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlukhov Mikhail <mikl@greenfil.ru>2022-11-21 10:21:51 +0300
committerGlukhov Mikhail <mikl@greenfil.ru>2022-12-19 10:51:29 +0300
commitba60e9c33dd0d0b87e1af6a26ab296b6f172c343 (patch)
tree9d586501cf6a5913346c5d0b84c1526a9c2d6bcc
parent7385e139b0c9efca7430458cee982e63e282f4ae (diff)
downloadwebui-vue-ba60e9c33dd0d0b87e1af6a26ab296b6f172c343.tar.xz
Removed the MemorySize
Removed the MemorySize field for DIMMs, because it is missing in Redfish ``` https://www.dmtf.org/sites/default/files/standards/documents/DSP8010.zip ``` Change-Id: I12f37a601e429060765960f3c66b5249b84eabe7 Signed-off-by: Glukhov Mikhail <mikl@greenfil.ru>
-rw-r--r--src/locales/en-US.json1
-rw-r--r--src/locales/ru-RU.json1
-rw-r--r--src/store/modules/HardwareStatus/MemoryStore.js2
-rw-r--r--src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue11
4 files changed, 3 insertions, 12 deletions
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 2dace38a..ffb6a2ea 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -414,7 +414,6 @@
"maxSpeedMHz": "Max speed MHz",
"maxPowerWatts": "Max power watts",
"memoryType": "Memory type",
- "memorySize": "Memory size",
"memorySummary": "Memory summary",
"minPowerWatts": "Min power watts",
"minSpeedMHz": "Min speed MHz",
diff --git a/src/locales/ru-RU.json b/src/locales/ru-RU.json
index 97d4c18c..8993b82d 100644
--- a/src/locales/ru-RU.json
+++ b/src/locales/ru-RU.json
@@ -414,7 +414,6 @@
"maxSpeedMHz": "Макс. скорость МГц",
"maxPowerWatts": "Макс. мощность Вт",
"memoryType": "Тип памяти",
- "memorySize": "Объём памяти",
"memorySummary": "Сводная информация по памяти",
"minPowerWatts": "Мин. мощность Вт",
"minSpeedMHz": "Мин. скорость МГц",
diff --git a/src/store/modules/HardwareStatus/MemoryStore.js b/src/store/modules/HardwareStatus/MemoryStore.js
index fd8f0a91..c166d831 100644
--- a/src/store/modules/HardwareStatus/MemoryStore.js
+++ b/src/store/modules/HardwareStatus/MemoryStore.js
@@ -26,7 +26,6 @@ const MemoryStore = {
SparePartNumber,
Description,
MemoryType,
- MemorySize,
LocationIndicatorActive,
Location,
} = data;
@@ -45,7 +44,6 @@ const MemoryStore = {
sparePartNumber: SparePartNumber,
description: Description,
memoryType: MemoryType,
- memorySize: MemorySize,
identifyLed: LocationIndicatorActive,
uri: data['@odata.id'],
locationNumber: Location?.PartLocation?.ServiceLabel,
diff --git a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue
index c05ae734..d29f6f8e 100644
--- a/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue
+++ b/src/views/HardwareStatus/Inventory/InventoryTableDimmSlot.vue
@@ -93,9 +93,9 @@
</b-col>
<b-col sm="6" xl="6">
<dl>
- <!-- Memory Size in kb -->
- <dt>{{ $t('pageInventory.table.memorySize') }}:</dt>
- <dd>{{ dataFormatter(item.memorySize) }} KB</dd>
+ <!-- Capacity MiB -->
+ <dt>{{ $t('pageInventory.table.capacityMiB') }}:</dt>
+ <dd>{{ dataFormatter(item.capacityMiB) }}</dd>
</dl>
<dl>
<!-- Status-->
@@ -127,11 +127,6 @@
<dt>{{ $t('pageInventory.table.baseModuleType') }}:</dt>
<dd>{{ dataFormatter(item.baseModuleType) }}</dd>
</dl>
- <dl>
- <!-- Capacity MiB -->
- <dt>{{ $t('pageInventory.table.capacityMiB') }}:</dt>
- <dd>{{ dataFormatter(item.capacityMiB) }}</dd>
- </dl>
</b-col>
<b-col sm="6" xl="6">
<dl>