mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUAC-897 Fixed cg vs g confusion for connection group type identifier in javascript and templates.
This commit is contained in:
		| @@ -58,7 +58,7 @@ angular.module('home').controller('homeController', ['$scope', '$injector', | ||||
|         // Figure out which recent connection entries are valid | ||||
|         $scope.connectionsAndGroups.forEach(function findValidEntries (connectionOrGroup) { | ||||
|              | ||||
|             var type = connectionOrGroup.isConnection ? "c" : "cg"; | ||||
|             var type = connectionOrGroup.isConnection ? "c" : "g"; | ||||
|              | ||||
|             // Find the unique ID to index into the recent connections | ||||
|             var uniqueId = encodeURIComponent( | ||||
|   | ||||
| @@ -35,7 +35,7 @@ | ||||
|         <div class="caption"> | ||||
|             <div class="icon group type" ng-click="toggleExpanded(item)" ng-class="{expanded: item.expanded, empty: !item.children.length, balancer: item.balancer && !item.children.length}"></div> | ||||
|             <span class="name"> | ||||
|                 <a ng-show="item.balancer" ng-href="#/client/cg/{{item.identifier}}">{{item.name}}</a> | ||||
|                 <a ng-show="item.balancer" ng-href="#/client/g/{{item.identifier}}">{{item.name}}</a> | ||||
|                 <span ng-show="!item.balancer">{{item.name}}</span> | ||||
|             </span> | ||||
|         </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user