summaryrefslogtreecommitdiff
path: root/src/store/modules/Health
diff options
context:
space:
mode:
authorYoshie Muranaka <yoshiemuranaka@gmail.com>2020-05-01 22:26:00 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2020-05-05 20:28:16 +0300
commit598bf7e96704f54400ec1730255168dd4d274218 (patch)
tree772eed2aee074f479a06c85c860deabcfc20908d /src/store/modules/Health
parenta9ac43b9b25172cf0bfe800acdfc985024cad597 (diff)
downloadwebui-vue-598bf7e96704f54400ec1730255168dd4d274218.tar.xz
Add loading bar to Overview page
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com> Change-Id: I47ef77dda6b348c854e875aa458acfa44e287c49
Diffstat (limited to 'src/store/modules/Health')
-rw-r--r--src/store/modules/Health/EventLogStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/Health/EventLogStore.js b/src/store/modules/Health/EventLogStore.js
index d2f970ae..418e4558 100644
--- a/src/store/modules/Health/EventLogStore.js
+++ b/src/store/modules/Health/EventLogStore.js
@@ -62,8 +62,8 @@ const EventLogStore = {
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;