GUACAMOLE-567: Move client instability state to own flag. Actual current connection state is lost otherwise.

This commit is contained in:
Michael Jumper committed 2018-09-07 12:20:28 -07:00
1 parent 402ddb577f
commit fe07cf9b70
3 files changed
+34 -16

No files matched your search

@@ -635,7 +635,7 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
* otherwise.
*/
$scope.isConnectionUnstable = function isConnectionUnstable() {
return $scope.client && $scope.client.clientState.connectionState === ManagedClientState.ConnectionState.UNSTABLE;
return $scope.client && $scope.client.clientState.tunnelUnstable;
};
// Show status dialog when connection status changes