From 6b8aee9539765949712c72dd8bd02dc232c54a3a Mon Sep 17 00:00:00 2001 From: Dixsie Wolmers Date: Fri, 14 May 2021 11:14:33 -0500 Subject: 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 Change-Id: I74e146a233f5d3dda849db11e937cb9dea5bcbd7 --- src/store/modules/Health/PowerSupplyStore.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/store') diff --git a/src/store/modules/Health/PowerSupplyStore.js b/src/store/modules/Health/PowerSupplyStore.js index cc82f2ef..f7be2809 100644 --- a/src/store/modules/Health/PowerSupplyStore.js +++ b/src/store/modules/Health/PowerSupplyStore.js @@ -14,13 +14,16 @@ const PowerSupplyStore = { const { EfficiencyPercent, FirmwareVersion, - IndicatorLED, + LocationIndicatorActive, MemberId, + Manufacturer, Model, + Name, PartNumber, PowerInputWatts, SerialNumber, - Status, + SparePartNumber, + Status = {}, } = powerSupply; return { id: MemberId, @@ -29,9 +32,12 @@ const PowerSupplyStore = { serialNumber: SerialNumber, efficiencyPercent: EfficiencyPercent, firmwareVersion: FirmwareVersion, - indicatorLed: IndicatorLED, + identifyLed: LocationIndicatorActive, + manufacturer: Manufacturer, model: Model, powerInputWatts: PowerInputWatts, + name: Name, + sparePartNumber: SparePartNumber, statusState: Status.State, }; }); -- cgit v1.2.3