Drop state.activeNetwork
Just grab it from state.activeBuffer's network.
This commit is contained in:
parent
d2ff88d946
commit
3975467764
2 changed files with 29 additions and 12 deletions
|
@ -92,9 +92,9 @@ export default {
|
|||
app.client.send({ command: "TOPIC", params });
|
||||
},
|
||||
"reconnect": (app, args) => {
|
||||
app.reconnect(app.state.activeNetwork);
|
||||
app.reconnect();
|
||||
},
|
||||
"disconnect": (app, args) => {
|
||||
app.disconnect(app.state.activeNetwork);
|
||||
app.disconnect();
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue