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

fix handling of global debug message

This commit is contained in:
Hiroyasu Nishiyama 2022-07-04 10:45:20 +09:00
parent f760354e82
commit 67f4553213

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