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>
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 2dace38..ffb6a2e 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 97d4c18..8993b82 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 fd8f0a9..c166d83 100644
--- a/src/store/modules/HardwareStatus/MemoryStore.js
+++ b/src/store/modules/HardwareStatus/MemoryStore.js
@@ -26,7 +26,6 @@
SparePartNumber,
Description,
MemoryType,
- MemorySize,
LocationIndicatorActive,
Location,
} = data;
@@ -45,7 +44,6 @@
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 c05ae73..d29f6f8 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>