mirror of
https://github.com/node-red/node-red
synced 2024-11-22 16:33:24 +00:00
Fix location of subflow ports in palette
This commit is contained in:
parent
0e8d312794
commit
74ff0599d1
@ -484,7 +484,8 @@ RED.palette = (function() {
|
||||
var currentLabel = paletteNode.attr("data-palette-label");
|
||||
var currentInfo = paletteNode.attr("data-palette-info");
|
||||
|
||||
if (currentLabel !== sf.name || currentInfo !== sf.info) {
|
||||
if (currentLabel !== sf.name || currentInfo !== sf.info
|
||||
|| sf.in.length > 0 || sf.out.length > 0) {
|
||||
paletteNode.attr("data-palette-info",sf.info);
|
||||
setLabel(sf.type+":"+sf.id,paletteNode,sf.name,RED.utils.renderMarkdown(sf.info||""));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user