Show subflow flow context under node section of sidebar

This commit is contained in:
Nick O'Leary
2025-01-27 16:36:57 +00:00
parent 21612a5215
commit 43df2318d4

View File

@@ -96,7 +96,11 @@ var api = module.exports = {
} else if (scope === 'node') {
var node = runtime.nodes.getNode(id);
if (node) {
ctx = node.context();
if (/^subflow:/.test(node.type)) {
ctx = runtime.nodes.getContext(node.id);
} else {
ctx = node.context();
}
}
}
if (ctx) {