From 1c1c93abfc6c47de6ad2ad721a9310f564d014be Mon Sep 17 00:00:00 2001 From: natsoni Date: Sat, 22 Jun 2024 17:28:08 +0900 Subject: [PATCH] Fix websocket network change handling --- frontend/src/app/services/websocket.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/services/websocket.service.ts b/frontend/src/app/services/websocket.service.ts index cb9c96923..fd67ddb2e 100644 --- a/frontend/src/app/services/websocket.service.ts +++ b/frontend/src/app/services/websocket.service.ts @@ -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;