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

Merge pull request #3595 from Steve-Mcl/fix-project-switching

Fix project switching when junctions are present
This commit is contained in:
Nick O'Leary 2022-05-05 20:48:54 +01:00 committed by GitHub
commit b985de6df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2462,6 +2462,8 @@ RED.nodes = (function() {
workspacesOrder = []; workspacesOrder = [];
groups = {}; groups = {};
groupsByZ = {}; groupsByZ = {};
junctions = {};
junctionsByZ = {};
var subflowIds = Object.keys(subflows); var subflowIds = Object.keys(subflows);
subflowIds.forEach(function(id) { subflowIds.forEach(function(id) {