Fix error update websocket to change user (#2743)

This commit is contained in:
Vladyslav 2020-05-07 11:19:27 +03:00 committed by GitHub
parent 864a98fd8b
commit 15452dfe15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,10 @@ function TelemetryWebsocketService($rootScope, $websocket, $timeout, $window, $m
} }
}); });
$rootScope.telemetryWsLoginHandle = $rootScope.$on('authenticated', function () {
reset(true);
});
return service; return service;
function publishCommands () { function publishCommands () {