mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-12 07:57:41 +00:00
GUAC-1099: Do not attempt to display connections in guacGroupList if no connection template is provided.
This commit is contained in:
@@ -130,8 +130,8 @@ angular.module('groupList').directive('guacGroupList', [function guacGroupList()
|
||||
|
||||
if (connectionGroup) {
|
||||
|
||||
// Create item hierarchy
|
||||
var rootItem = GroupListItem.fromConnectionGroup(connectionGroup);
|
||||
// Create item hierarchy, including connections only if they will be visible
|
||||
var rootItem = GroupListItem.fromConnectionGroup(connectionGroup, !!$scope.connectionTemplate);
|
||||
|
||||
// If root group is to be shown, wrap that group as the child of a fake root group
|
||||
if ($scope.showRootGroup)
|
||||
|
Reference in New Issue
Block a user