GUACAMOLE-585: getFieldOption should return EMPTY when value is not present.
diff --git a/guacamole/src/main/webapp/app/form/directives/formField.js b/guacamole/src/main/webapp/app/form/directives/formField.js
index 9cf785c..ea0f35f 100644
--- a/guacamole/src/main/webapp/app/form/directives/formField.js
+++ b/guacamole/src/main/webapp/app/form/directives/formField.js
@@ -119,7 +119,7 @@
$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')