Commit 15452dfe152f26723ef3c5e8325ce2f05dde3b2f
Committed by
GitHub
1 parent
864a98fd
Fix error update websocket to change user (#2743)
Showing
1 changed file
with
4 additions
and
0 deletions
... | ... | @@ -74,6 +74,10 @@ function TelemetryWebsocketService($rootScope, $websocket, $timeout, $window, $m |
74 | 74 | } |
75 | 75 | }); |
76 | 76 | |
77 | + $rootScope.telemetryWsLoginHandle = $rootScope.$on('authenticated', function () { | |
78 | + reset(true); | |
79 | + }); | |
80 | + | |
77 | 81 | return service; |
78 | 82 | |
79 | 83 | function publishCommands () { | ... | ... |