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

Ensure label is shown in help tree

This commit is contained in:
Steve-Mcl 2022-01-25 16:30:30 +00:00
parent f67aafa8d3
commit faf31be0dc

View File

@ -265,7 +265,7 @@ RED.sidebar.help = (function() {
}
}
label = label || n.type;
$('<div>',{class:"red-ui-node-label"}).text(n.name||n.type).appendTo(icon);
$('<div>',{class:"red-ui-node-label"}).text(label).appendTo(icon);
return div;
}