summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-08-18 13:14:53 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-08-18 13:14:53 +0300
commit62dcaec52d2626b285140b0e84e13f8f30e9f30b (patch)
treeb007ae922cbe8da10cc9c2015c74beb108bd2e00
parent01c6edee4c61ab1564e808b31943b96f062ff670 (diff)
downloadwebui-vue-62dcaec52d2626b285140b0e84e13f8f30e9f30b.tar.xz
rm logs from ws
-rw-r--r--src/store/plugins/WebSocketPlugin.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/store/plugins/WebSocketPlugin.js b/src/store/plugins/WebSocketPlugin.js
index 8f1acb0c..fdf3066e 100644
--- a/src/store/plugins/WebSocketPlugin.js
+++ b/src/store/plugins/WebSocketPlugin.js
@@ -37,7 +37,7 @@ const WebSocketPlugin = (store) => {
ws.onmessage = (event) => {
const data = JSON.parse(event.data);
const eventInterface = data.interface;
- const path = data.path;
+ // const path = data.path;
if (eventInterface === 'xyz.openbmc_project.State.Host') {
const { properties: { CurrentHostState } = {} } = data;
@@ -51,9 +51,9 @@ const WebSocketPlugin = (store) => {
let date = new Date(millis);
store.commit('global/setBmcTime', date);
}
- } else if (path === '/xyz/openbmc_project/logging') {
+ } /*else if (path === '/xyz/openbmc_project/logging') {
store.dispatch('eventLog/getEventLogData');
- }
+ }*/
};
};