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

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
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

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);