summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-03-11 22:52:33 +0300
committerDerick Montague <derick.montague@ibm.com>2020-03-12 18:30:50 +0300
commit36016e45acae516045cbb74be40e74881a5fc95f (patch)
treef75f2b6cdb1df7f1dc64a421cf60c34e02e7cbe0 /src
parentd96e90f3851006e506aec2370ff9937cfca2133e (diff)
downloadwebui-vue-36016e45acae516045cbb74be40e74881a5fc95f.tar.xz
Fix Overview errors
Updated computed variable names and store actions to match what is defined in FirmwareStore. Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: Id95e6cdae6eda4588f2f7b7264c5d4152bfd4c03
Diffstat (limited to 'src')
-rw-r--r--src/views/Overview/Overview.vue7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/views/Overview/Overview.vue b/src/views/Overview/Overview.vue
index 962d9a37..156667bc 100644
--- a/src/views/Overview/Overview.vue
+++ b/src/views/Overview/Overview.vue
@@ -107,8 +107,8 @@ export default {
serverManufacturer: state => state.overview.serverManufacturer,
serverSerialNumber: state => state.overview.serverSerialNumber,
hostName: state => state.global.hostName,
- hostActiveVersion: state => state.firmware.hostActiveVersion,
- bmcActiveVersion: state => state.firmware.bmcActiveVersion,
+ hostFirmwareVersion: state => state.firmware.hostFirmwareVersion,
+ bmcFirmwareVersion: state => state.firmware.bmcFirmwareVersion,
powerCapValue: state => state.powerControl.powerCapValue,
powerConsumptionValue: state => state.powerControl.powerConsumptionValue
}),
@@ -119,7 +119,8 @@ export default {
getOverviewInfo() {
this.$store.dispatch('overview/getServerInfo');
this.$store.dispatch('global/getHostName');
- this.$store.dispatch('firmware/getFirmwareInfo');
+ this.$store.dispatch('firmware/getBmcFirmware');
+ this.$store.dispatch('firmware/getHostFirmware');
this.$store.dispatch('powerControl/getPowerControl');
}
}