mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Allow subflow instance to override env var with falsey values
Fixes #2113
This commit is contained in:
		| @@ -571,13 +571,13 @@ RED.editor = (function() { | ||||
|                                           }); | ||||
|  | ||||
|                     valueField.typedInput('type', opt.parent?(opt.type||opt.parent.type):opt.type); | ||||
|                     valueField.typedInput('value', opt.parent?(opt.value||opt.parent.value):opt.value); | ||||
|                     valueField.typedInput('value', opt.parent?((opt.value !== undefined)?opt.value:opt.parent.value):opt.value); | ||||
|  | ||||
|                     var actionButton = $('<a/>',{href:"#",class:"red-ui-editableList-item-remove editor-button editor-button-small"}).appendTo(container); | ||||
|                     $('<i/>',{class:"fa "+(opt.parent?"fa-reply":"fa-remove")}).appendTo(actionButton); | ||||
|                     container.parent().addClass("red-ui-editableList-item-removable"); | ||||
|                     if (opt.parent) { | ||||
|                         if (opt.value && (opt.value !== opt.parent.value || opt.type !== opt.parent.type)) { | ||||
|                         if ((opt.value !== undefined) && (opt.value !== opt.parent.value || opt.type !== opt.parent.type)) { | ||||
|                             actionButton.show(); | ||||
|                         } else { | ||||
|                             actionButton.hide(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user