mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Removed this.topic from the label function
This commit is contained in:
parent
75d1adcb18
commit
c85ab75fe3
@ -46,7 +46,7 @@
|
|||||||
outputs:1, // set the number of outputs - 0 to n
|
outputs:1, // set the number of outputs - 0 to n
|
||||||
icon: "arrow-in.png", // set the icon (held in public/icons)
|
icon: "arrow-in.png", // set the icon (held in public/icons)
|
||||||
label: function() { // sets the default label contents
|
label: function() { // sets the default label contents
|
||||||
return this.name||this.topic||"pause "+this.timeout+" s";
|
return this.name||"pause "+this.timeout+" s";
|
||||||
},
|
},
|
||||||
labelStyle: function() { // sets the class to apply to the label
|
labelStyle: function() { // sets the class to apply to the label
|
||||||
return this.name?"node_label_italic":"";
|
return this.name?"node_label_italic":"";
|
||||||
|
Loading…
Reference in New Issue
Block a user