diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-06-02 22:01:27 +0300 |
---|---|---|
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-06-17 23:38:34 +0300 |
commit | c687f101324f301de04e326b2937953a395a5fed (patch) | |
tree | a4dae893fa5e09cd2ac78959b6422f6e0d16f170 /src/store/modules/Health | |
parent | 56ee769fd5a3df93eb275859a712700a7ba54944 (diff) | |
download | webui-vue-c687f101324f301de04e326b2937953a395a5fed.tar.xz |
Refactor Overview page
Use SystemStore to get Server information values on the
overview page. Added missing properties to SystemStore
and removed hostFirmware from FirmwareStore.
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I5923adb0345f0de28f9a66f460e41d15f87f743a
Diffstat (limited to 'src/store/modules/Health')
-rw-r--r-- | src/store/modules/Health/SystemStore.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/store/modules/Health/SystemStore.js b/src/store/modules/Health/SystemStore.js index 9c4c477d..828b78bd 100644 --- a/src/store/modules/Health/SystemStore.js +++ b/src/store/modules/Health/SystemStore.js @@ -13,9 +13,11 @@ const SystemStore = { const system = {}; system.assetTag = data.AssetTag; system.description = data.Description; + system.firmwareVersion = data.BiosVersion; system.health = data.Status.Health; system.id = data.Id; system.indicatorLed = data.IndicatorLED; + system.manufacturer = data.Manufacturer; system.model = data.Model; system.partNumber = data.PartNumber; system.powerState = data.PowerState; |