GUACAMOLE-1387: Update and filter tiled connections only if group is actually changing.
This commit is contained in:
1 parent
5d05442057
commit
c63eb4477c
1 file changed
+4
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user