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
diff --git a/src/views/Overview/Overview.vue b/src/views/Overview/Overview.vue
index 962d9a3..156667b 100644
--- a/src/views/Overview/Overview.vue
+++ b/src/views/Overview/Overview.vue
@@ -107,8 +107,8 @@
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 @@
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');
}
}