diff options
Diffstat (limited to 'src/store/plugins/WebSocketPlugin.js')
-rw-r--r-- | src/store/plugins/WebSocketPlugin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/plugins/WebSocketPlugin.js b/src/store/plugins/WebSocketPlugin.js index afad6718..29a98c20 100644 --- a/src/store/plugins/WebSocketPlugin.js +++ b/src/store/plugins/WebSocketPlugin.js @@ -39,7 +39,7 @@ const WebSocketPlugin = (store) => { if (eventInterface === 'xyz.openbmc_project.State.Host') { const { properties: { CurrentHostState } = {} } = data; if (CurrentHostState) { - store.commit('global/setServerStatus', CurrentHostState); + store.dispatch('global/changeServerStatus', CurrentHostState); } } else if (path === '/xyz/openbmc_project/logging') { store.dispatch('eventLog/getEventLogData'); |