Fixes issue in the frontend node server

parent 3d2d4e76
Pipeline #17947 passed with stages
in 8 minutes and 47 seconds
......@@ -140,6 +140,9 @@ export class HomeComponent implements OnInit, OnDestroy {
}
this.connectionService.initConnection().then(() => {
if (!this.connectionService.socket) {
return;
}
this.connectionService.socket.subscribe(data => {
this.connectionService.websocketAvailable = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment