Ensure subflow help is picked up for palette tooltip

Fixes #2834
This commit is contained in:
Nick O'Leary
2021-01-27 22:53:06 +00:00
parent 9b5ed8407f
commit 7068c175f2

View File

@@ -417,7 +417,8 @@ RED.palette = (function() {
RED.workspaces.show(nt.substring(8));
e.preventDefault();
});
nodeInfo = RED.utils.renderMarkdown(def.info||"");
var subflow = RED.nodes.subflow(nt.substring(8));
nodeInfo = RED.utils.renderMarkdown(subflow.info||"");
}
setLabel(nt,d,label,nodeInfo);