Fixed websocket disconnect.

This commit is contained in:
Raimund Renkert 2022-03-02 16:19:28 +01:00
parent 8a1cd2272e
commit 634702f287

View File

@ -49,7 +49,7 @@ export default new Vuex.Store({
actions: {
stopAutoUpdate: function({ state }) {
if (this.socket) {
if (state.socket) {
var s = state.socket;
state.socket = null;
s.close();