Introduce state.networks
This commit is contained in:
parent
218b131608
commit
5a1e6ba813
2 changed files with 73 additions and 36 deletions
|
@ -89,9 +89,9 @@ export default {
|
|||
app.client.send({ command: "TOPIC", params });
|
||||
},
|
||||
"reconnect": (app, args) => {
|
||||
app.reconnect();
|
||||
app.reconnect(app.state.activeNetwork);
|
||||
},
|
||||
"disconnect": (app, args) => {
|
||||
app.disconnect();
|
||||
app.disconnect(app.state.activeNetwork);
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue