mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-585: Merge fix for "EMPTY" field option value / dead code.
This commit is contained in:
@@ -119,7 +119,7 @@ angular.module('form').directive('guacFormField', [function formField() {
|
|||||||
$scope.getFieldOption = function getFieldOption(value) {
|
$scope.getFieldOption = function getFieldOption(value) {
|
||||||
|
|
||||||
// If no field, or no value, then no corresponding translation string
|
// 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 '';
|
||||||
|
|
||||||
return translationStringService.canonicalize($scope.namespace || 'MISSING_NAMESPACE')
|
return translationStringService.canonicalize($scope.namespace || 'MISSING_NAMESPACE')
|
||||||
|
Reference in New Issue
Block a user