mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Import fails on nodes with config labels
This commit is contained in:
@@ -42,7 +42,8 @@
|
||||
outputs:1,
|
||||
icon: "hash.png",
|
||||
label: function() {
|
||||
return this.name||(this.ircserver)?RED.nodes.node(this.ircserver).label():"irc";
|
||||
var ircNode = RED.nodes.node(this.ircserver);
|
||||
return this.name||((ircNode?ircNode.label():"irc");
|
||||
},
|
||||
labelStyle: function() {
|
||||
return this.name?"node_label_italic":"";
|
||||
|
Reference in New Issue
Block a user