Commit e3e037c93e60c541bcd9d5dd806337204c4535c8
Merge branch 'master' of github.com:thingsboard/thingsboard into develop/3.0
Showing
1 changed file
with
4 additions
and
0 deletions
@@ -74,6 +74,10 @@ function TelemetryWebsocketService($rootScope, $websocket, $timeout, $window, $m | @@ -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 | return service; | 81 | return service; |
78 | 82 | ||
79 | function publishCommands () { | 83 | function publishCommands () { |