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

This commit is contained in:
Virtually Nick
2021-07-29 11:34:36 -04:00
committed by GitHub

View File

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