Add loading bar to Overview page
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I47ef77dda6b348c854e875aa458acfa44e287c49
diff --git a/src/store/modules/GlobalStore.js b/src/store/modules/GlobalStore.js
index c9e92a7..879d8d8 100644
--- a/src/store/modules/GlobalStore.js
+++ b/src/store/modules/GlobalStore.js
@@ -40,8 +40,8 @@
(state.hostStatus = hostStateMapper(hostState))
},
actions: {
- getBmcTime({ commit }) {
- api
+ async getBmcTime({ commit }) {
+ return await api
.get('/redfish/v1/Managers/bmc')
.then(response => {
const bmcDateTime = response.data.DateTime;