GUACAMOLE-723: Display connection thumbnails for all non-current active connections within the client interface.

This commit is contained in:
Michael Jumper committed 2019-03-25 17:02:11 -07:00
1 parent 57cdd2b483
commit e7eb46b2a1
3 files changed
+97 -1

No files matched your search

@@ -267,6 +267,18 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
*/
$scope.client = guacClientManager.getManagedClient($routeParams.id, $routeParams.params);
/**
* All active clients which are not the current client ($scope.client).
* Each key is the ID of the connection used by that client.
*
* @type Object.<String, ManagedClient>
*/
$scope.otherClients = (function getOtherClients(clients) {
var otherClients = angular.extend({}, clients);
delete otherClients[$scope.client.id];
return otherClients;
})(guacClientManager.getManagedClients());
/**
* Map of data source identifier to the root connection group of that data
* source, or null if the connection group hierarchy has not yet been