GUACAMOLE-585: Merge fix for "EMPTY" field option value / dead code.
This commit is contained in:
commit
7481c181ed
1 file changed
+1
-1
@@ -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