Fix error update websocket to change user (#2744)
This commit is contained in:
parent
9db9c36bb3
commit
7a87e6c16d
@ -70,10 +70,8 @@ export class TelemetryWebsocketService implements TelemetryService {
|
|||||||
private ngZone: NgZone,
|
private ngZone: NgZone,
|
||||||
@Inject(WINDOW) private window: Window) {
|
@Inject(WINDOW) private window: Window) {
|
||||||
this.store.pipe(select(selectIsAuthenticated)).subscribe(
|
this.store.pipe(select(selectIsAuthenticated)).subscribe(
|
||||||
(authenticated: boolean) => {
|
() => {
|
||||||
if (!authenticated) {
|
this.reset(true);
|
||||||
this.reset(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user