Commit 7a87e6c16d7709f31d2bbec5323f679e771b5483
Committed by
GitHub
1 parent
9db9c36b
Fix error update websocket to change user (#2744)
Showing
1 changed file
with
2 additions
and
4 deletions
... | ... | @@ -70,10 +70,8 @@ export class TelemetryWebsocketService implements TelemetryService { |
70 | 70 | private ngZone: NgZone, |
71 | 71 | @Inject(WINDOW) private window: Window) { |
72 | 72 | this.store.pipe(select(selectIsAuthenticated)).subscribe( |
73 | - (authenticated: boolean) => { | |
74 | - if (!authenticated) { | |
75 | - this.reset(true); | |
76 | - } | |
73 | + () => { | |
74 | + this.reset(true); | |
77 | 75 | } |
78 | 76 | ); |
79 | 77 | ... | ... |