mirror of
				https://github.com/node-red/node-red.git
				synced 2025-03-01 10:36:34 +00:00 
			
		
		
		
	show name as @x if alias is set but topic is not
- e.g. @1 denotes alias 1 is set but topic is empty
This commit is contained in:
		| @@ -275,7 +275,7 @@ | ||||
|         icon: "bridge.svg", | ||||
|         align: "right", | ||||
|         label: function() { | ||||
|             return this.name||this.topic||"mqtt"; | ||||
|             return this.name||this.topic||(this.topicAlias ? "@"+this.topicAlias : "mqtt"); | ||||
|         }, | ||||
|         oneditprepare: function() { | ||||
|             $("#node-input-broker").change(function(d){ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user