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
1 changed files with 2 additions and 1 deletions

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