mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Handle null subflow info property
This commit is contained in:
@@ -140,7 +140,7 @@ RED.sidebar.info = (function() {
|
||||
table += '<div class="node-help">'+helpText+"</div>";
|
||||
}
|
||||
if (subflowNode) {
|
||||
table += '<div class="node-help">'+marked(subflowNode.info)+'</div>';
|
||||
table += '<div class="node-help">'+marked(subflowNode.info||"")+'</div>';
|
||||
} else if (node._def && node._def.info) {
|
||||
var info = node._def.info;
|
||||
table += '<div class="node-help">'+marked(typeof info === "function" ? info.call(node) : info)+'</div>';
|
||||
|
Reference in New Issue
Block a user