diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-09-01 10:43:25 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-09-01 10:43:25 +0300 |
commit | 53e003b2502a8b01afdd65ff1c3fd2c485419bd5 (patch) | |
tree | 192b2e4e27de0c4f9572754a4ab40d0039fcdb51 /src/store/plugins | |
parent | dfc9ebca8098af82994ca6fc8067cc4f8fad5e18 (diff) | |
download | webui-vue-53e003b2502a8b01afdd65ff1c3fd2c485419bd5.tar.xz |
SILABMC-259: upd bmc time if server status change
Diffstat (limited to 'src/store/plugins')
-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'); |