GUACAMOLE-723: Allow connections in Guacamole menu dropdown to be filtered.

This commit is contained in:
Michael Jumper
2019-04-02 08:44:45 -07:00
parent 7fddb26202
commit 19da6e32a2
12 changed files with 52 additions and 1 deletions

View File

@@ -288,6 +288,24 @@ angular.module('client').controller('clientController', ['$scope', '$routeParams
*/
$scope.rootConnectionGroups = null;
/**
* Array of all connection properties that are filterable.
*
* @type String[]
*/
$scope.filteredConnectionProperties = [
'name'
];
/**
* Array of all connection group properties that are filterable.
*
* @type String[]
*/
$scope.filteredConnectionGroupProperties = [
'name'
];
// Retrieve root groups and all descendants
dataSourceService.apply(
connectionGroupService.getConnectionGroupTree,