Browse Source

leak ws fix

master
gsd 11 months ago
parent
commit
200c0336c0
  1. 1
      src/api/GlobalApi.js
  2. 1
      src/components/ActionDialogs/Tables/PlayersGraph.vue

1
src/api/GlobalApi.js

@ -79,7 +79,6 @@ export default class GlobalApi {
}
getServers4Selector() {
this.create_server_websocket()
let r = [];
for (const srv in this.stats.servers_map) {
r.push({"srv": this.stats.servers_map[srv]['key'], "name": this.stats.servers_map[srv]['name']})

1
src/components/ActionDialogs/Tables/PlayersGraph.vue

@ -46,6 +46,7 @@ export default {
showMe(action) {
this.show = action === undefined ? !this.show : action;
if (action === true) {
this.$API.create_server_websocket();
this.onLoad();
}
},

Loading…
Cancel
Save