Fixing the zombie UI state

This commit is contained in:
maciejhirsz
2018-07-25 18:41:58 +02:00
parent 33c0acb21e
commit 0945d7b4d6
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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;
+2 -1
View File
@@ -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);