mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-11-15 14:50:21 +01:00
Fixed websocket disconnect.
This commit is contained in:
parent
8a1cd2272e
commit
634702f287
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user