mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	Ensure ndoe status icon is shown when value set
This commit is contained in:
		| @@ -3144,7 +3144,7 @@ RED.view = (function() { | |||||||
|                                 } else { |                                 } else { | ||||||
|                                     thisNode.selectAll(".red-ui-flow-node-status-group").attr("transform","translate(3,"+(d.h+3)+")"); |                                     thisNode.selectAll(".red-ui-flow-node-status-group").attr("transform","translate(3,"+(d.h+3)+")"); | ||||||
|                                     var statusClass = "red-ui-flow-node-status-"+(d.status.shape||"dot")+"-"+d.status.fill; |                                     var statusClass = "red-ui-flow-node-status-"+(d.status.shape||"dot")+"-"+d.status.fill; | ||||||
|                                     thisNode.selectAll(".red-ui-flow-node-status").attr("class","red-ui-flow-node-status "+statusClass); |                                     thisNode.selectAll(".red-ui-flow-node-status").style("display","inline").attr("class","red-ui-flow-node-status "+statusClass); | ||||||
|                                 } |                                 } | ||||||
|                                 if (d.status.text) { |                                 if (d.status.text) { | ||||||
|                                     thisNode.selectAll(".red-ui-flow-node-status-label").text(d.status.text); |                                     thisNode.selectAll(".red-ui-flow-node-status-label").text(d.status.text); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user