mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-18 00:21:01 +00:00
Clear nodes on re-subbing (#69)
This commit is contained in:
@@ -281,7 +281,10 @@ export class Connection {
|
||||
}
|
||||
|
||||
case Actions.SubscribedTo: {
|
||||
this.state = this.update({ subscribed: message.payload });
|
||||
nodes.clear();
|
||||
sortedNodes = [];
|
||||
|
||||
this.state = this.update({ subscribed: message.payload, nodes, sortedNodes });
|
||||
|
||||
continue messages;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user