From 598bf7e96704f54400ec1730255168dd4d274218 Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Fri, 1 May 2020 12:26:00 -0700 Subject: Add loading bar to Overview page Signed-off-by: Yoshie Muranaka Change-Id: I47ef77dda6b348c854e875aa458acfa44e287c49 --- src/store/modules/GlobalStore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/store/modules/GlobalStore.js') diff --git a/src/store/modules/GlobalStore.js b/src/store/modules/GlobalStore.js index c9e92a76..879d8d89 100644 --- a/src/store/modules/GlobalStore.js +++ b/src/store/modules/GlobalStore.js @@ -40,8 +40,8 @@ const GlobalStore = { (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; -- cgit v1.2.3