Add hardware status power supply missing properties
Adds efficiency percent, identify LED, manufacturer, hardware type,
health and spare part number.
Adds section divider in expanded row.
Signed-off-by: Dixsie Wolmers <dixsie@ibm.com>
Change-Id: I74e146a233f5d3dda849db11e937cb9dea5bcbd7
diff --git a/src/store/modules/Health/PowerSupplyStore.js b/src/store/modules/Health/PowerSupplyStore.js
index cc82f2e..f7be280 100644
--- a/src/store/modules/Health/PowerSupplyStore.js
+++ b/src/store/modules/Health/PowerSupplyStore.js
@@ -14,13 +14,16 @@
const {
EfficiencyPercent,
FirmwareVersion,
- IndicatorLED,
+ LocationIndicatorActive,
MemberId,
+ Manufacturer,
Model,
+ Name,
PartNumber,
PowerInputWatts,
SerialNumber,
- Status,
+ SparePartNumber,
+ Status = {},
} = powerSupply;
return {
id: MemberId,
@@ -29,9 +32,12 @@
serialNumber: SerialNumber,
efficiencyPercent: EfficiencyPercent,
firmwareVersion: FirmwareVersion,
- indicatorLed: IndicatorLED,
+ identifyLed: LocationIndicatorActive,
+ manufacturer: Manufacturer,
model: Model,
powerInputWatts: PowerInputWatts,
+ name: Name,
+ sparePartNumber: SparePartNumber,
statusState: Status.State,
};
});