mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-31 00:53:21 +00:00 
			
		
		
		
	GUACAMOLE-585: getFieldOption should return EMPTY when value is not present.
This commit is contained in:
		| @@ -119,7 +119,7 @@ angular.module('form').directive('guacFormField', [function formField() { | ||||
|             $scope.getFieldOption = function getFieldOption(value) { | ||||
|  | ||||
|                 // If no field, or no value, then no corresponding translation string | ||||
|                 if (!$scope.field || !$scope.field.name || !value) | ||||
|                 if (!$scope.field || !$scope.field.name) | ||||
|                     return ''; | ||||
|  | ||||
|                 return translationStringService.canonicalize($scope.namespace || 'MISSING_NAMESPACE') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user