mirror of
https://github.com/ansible/awx.git
synced 2026-03-03 01:38:50 -03:30
Fix setting socketStatus on disconnect
This commit is contained in:
@@ -118,7 +118,7 @@ angular.module('SocketIO', ['AuthService', 'Utilities'])
|
||||
self.socket.on('diconnect', function() {
|
||||
$log.debug('Socket disconnected');
|
||||
self.scope.$apply(function() {
|
||||
self.socketStatus = 'error';
|
||||
self.scope.socketStatus = 'error';
|
||||
self.scope.socketTip = getSocketTip(self.scope.socketStatus);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user