Merge pull request #3733 from node-red-hitachi/fix-debug-message-handling

fix handling of global debug message
This commit is contained in:
Nick O'Leary
2022-07-04 21:01:35 +01:00
committed by GitHub

View File

@@ -252,6 +252,9 @@
if (pathParts.length === 1) {
// The source node is on a flow - so can use its id to find
sourceNode = RED.nodes.node(o.id);
if (pathParts[0] === "global") {
pathParts = [];
}
} else if (pathParts.length > 1) {
// Highlight the subflow instance node.
sourceNode = RED.nodes.node(pathParts[1]);