diff options
author | Dixsie Wolmers <dixsie@ibm.com> | 2021-05-14 19:14:33 +0300 |
---|---|---|
committer | Dixsie Wolmers <dixsiew@gmail.com> | 2021-07-27 17:29:04 +0300 |
commit | 6b8aee9539765949712c72dd8bd02dc232c54a3a (patch) | |
tree | f9fa9b071d946b219af3c300f649f7f3eee29961 /src/store/modules/Health/PowerSupplyStore.js | |
parent | bc46814bd7b45792c92c76008849b2b312db6196 (diff) | |
download | webui-vue-6b8aee9539765949712c72dd8bd02dc232c54a3a.tar.xz |
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
Diffstat (limited to 'src/store/modules/Health/PowerSupplyStore.js')
-rw-r--r-- | src/store/modules/Health/PowerSupplyStore.js | 12 |
1 files changed, 9 insertions, 3 deletions
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, }; }); |