Add loading bar to Overview page
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I47ef77dda6b348c854e875aa458acfa44e287c49
diff --git a/src/store/modules/Health/EventLogStore.js b/src/store/modules/Health/EventLogStore.js
index d2f970a..418e455 100644
--- a/src/store/modules/Health/EventLogStore.js
+++ b/src/store/modules/Health/EventLogStore.js
@@ -62,8 +62,8 @@
setHealthStatus: (state, status) => (state.healthStatus = status)
},
actions: {
- getEventLogData({ commit }) {
- api
+ async getEventLogData({ commit }) {
+ return await api
.get('/xyz/openbmc_project/logging/enumerate')
.then(response => {
const responseData = response.data.data;