mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-04-27 12:48:02 +00:00
Map toggle, fix selecting chain
This commit is contained in:
@@ -188,7 +188,6 @@ export class Connection {
|
||||
case Actions.AddedChain: {
|
||||
const [label, nodeCount] = message.payload;
|
||||
chains.set(label, nodeCount);
|
||||
this.autoSubscribe();
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -200,7 +199,6 @@ export class Connection {
|
||||
nodes.clear();
|
||||
|
||||
this.state = this.update({ subscribed: null, nodes, chains });
|
||||
this.autoSubscribe();
|
||||
|
||||
continue messages;
|
||||
}
|
||||
@@ -230,6 +228,8 @@ export class Connection {
|
||||
}
|
||||
|
||||
this.state = this.update(changes);
|
||||
|
||||
this.autoSubscribe();
|
||||
}
|
||||
|
||||
private autoSubscribe() {
|
||||
|
||||
Reference in New Issue
Block a user