mirror of
https://github.com/pezkuwichain/pezkuwi-telemetry.git
synced 2026-07-24 22:55:49 +00:00
Fixing the zombie UI state
This commit is contained in:
@@ -7,4 +7,4 @@ import * as FeedMessage from './feed';
|
|||||||
export { Types, FeedMessage };
|
export { Types, FeedMessage };
|
||||||
|
|
||||||
// Increment this if breaking changes were made to types in `feed.ts`
|
// 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
|
// Re-subscribe to previously selected chain
|
||||||
if (this.state.subscribed) {
|
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);
|
this.socket.addEventListener('message', this.handleMessages);
|
||||||
|
|||||||
Reference in New Issue
Block a user