GUACAMOLE-585: Merge fix for "EMPTY" field option value / dead code.

This commit is contained in:
Michael Jumper
2018-07-01 00:19:27 -07:00

View File

@@ -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')