Merge changes from patch branch back to main.

This commit is contained in:
Michael Jumper
2025-02-17 10:41:06 -08:00

View File

@@ -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;
});
}; };
/** /**