Fix websocket network change handling
This commit is contained in:
parent
a517c6c711
commit
1c1c93abfc
@ -72,7 +72,7 @@ export class WebsocketService {
|
||||
}
|
||||
|
||||
this.stateService.networkChanged$.subscribe((network) => {
|
||||
if (network === this.network || network === this.stateService.env.ROOT_NETWORK) {
|
||||
if (network === this.network || (this.network === '' && network === this.stateService.env.ROOT_NETWORK)) {
|
||||
return;
|
||||
}
|
||||
this.network = network === this.stateService.env.ROOT_NETWORK ? '' : network;
|
||||
|
Loading…
x
Reference in New Issue
Block a user