GUACAMOLE-1387: Update and filter tiled connections only if group is actually changing.

This commit is contained in:
Michael Jumper
2021-07-28 22:10:53 -07:00
parent 5d05442057
commit c63eb4477c

View File

@@ -284,6 +284,10 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
*/
const setAttachedGroup = function setAttachedGroup(managedClientGroup) {
// Do nothing if group is not actually changing
if ($scope.clientGroup === managedClientGroup)
return;
if ($scope.clientGroup) {
// Remove all disconnected clients from management (the user has