Vladyslav
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
4 deletions
-
ui-ngx/src/app/core/ws/telemetry-websocket.service.ts
|
|
|
@ -70,10 +70,8 @@ export class TelemetryWebsocketService implements TelemetryService { |
|
|
|
private ngZone: NgZone, |
|
|
|
@Inject(WINDOW) private window: Window) { |
|
|
|
this.store.pipe(select(selectIsAuthenticated)).subscribe( |
|
|
|
(authenticated: boolean) => { |
|
|
|
if (!authenticated) { |
|
|
|
this.reset(true); |
|
|
|
} |
|
|
|
() => { |
|
|
|
this.reset(true); |
|
|
|
} |
|
|
|
); |
|
|
|
|
|
|
|
|