mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
include junction to exported nodes
This commit is contained in:
parent
551e73adef
commit
7eed9c0584
@ -709,6 +709,7 @@ RED.clipboard = (function() {
|
|||||||
} else if (type === 'flow') {
|
} else if (type === 'flow') {
|
||||||
var activeWorkspace = RED.workspaces.active();
|
var activeWorkspace = RED.workspaces.active();
|
||||||
nodes = RED.nodes.groups(activeWorkspace);
|
nodes = RED.nodes.groups(activeWorkspace);
|
||||||
|
nodes = nodes.concat(RED.nodes.junctions(activeWorkspace));
|
||||||
nodes = nodes.concat(RED.nodes.filterNodes({z:activeWorkspace}));
|
nodes = nodes.concat(RED.nodes.filterNodes({z:activeWorkspace}));
|
||||||
RED.nodes.eachConfig(function(n) {
|
RED.nodes.eachConfig(function(n) {
|
||||||
if (n.z === RED.workspaces.active() && n._def.hasUsers === false) {
|
if (n.z === RED.workspaces.active() && n._def.hasUsers === false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user