mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-06-11 09:31:14 +00:00
Fixing the zombie UI state
This commit is contained in:
@@ -7,4 +7,4 @@ import * as FeedMessage from './feed';
|
||||
export { Types, FeedMessage };
|
||||
|
||||
// Increment this if breaking changes were made to types in `feed.ts`
|
||||
export const VERSION: Types.FeedVersion = 6 as Types.FeedVersion;
|
||||
export const VERSION: Types.FeedVersion = 7 as Types.FeedVersion;
|
||||
|
||||
@@ -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