mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-12 16:51:02 +00:00
Fixing the zombie UI state
This commit is contained in:
@@ -84,7 +84,8 @@ export class Connection {
|
||||
|
||||
// Re-subscribe to previously selected chain
|
||||
if (this.state.subscribed) {
|
||||
this.subscribe(this.state.subscribed);
|
||||
// TODO: Remember the previous subscription for after we get chain info
|
||||
this.state = this.update({ subscribed: null });
|
||||
}
|
||||
|
||||
this.socket.addEventListener('message', this.handleMessages);
|
||||
|
||||
Reference in New Issue
Block a user