mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
Merge changes from patch branch back to main.
This commit is contained in:
@@ -84,7 +84,10 @@ angular.module('client').directive('guacClientPanel', ['$injector', function gua
|
|||||||
* panel, false otherwise.
|
* panel, false otherwise.
|
||||||
*/
|
*/
|
||||||
$scope.hasClientGroups = function hasClientGroups() {
|
$scope.hasClientGroups = function hasClientGroups() {
|
||||||
return $scope.clientGroups && $scope.clientGroups.length;
|
return $scope.clientGroups && $scope.clientGroups.some(function(group) {
|
||||||
|
// Check if there is any group that is not attached
|
||||||
|
return !group.attached;
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user