1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Add clientid to mqtt-broker label

Fixes #161
This commit is contained in:
Nick O'Leary 2014-02-17 22:42:31 +00:00
parent 6b278fdceb
commit b8953abb28

View File

@ -132,7 +132,7 @@
}, },
label: function() { label: function() {
return this.broker+":"+this.port; return (this.clientid?this.clientid+"@":"")+this.broker+":"+this.port;
}, },
oneditprepare: function() { oneditprepare: function() {
$.getJSON('mqtt-broker/'+this.id,function(data) { $.getJSON('mqtt-broker/'+this.id,function(data) {