Oversight to delete a moved logic

pull/5003/head
GogoVega 2024-12-24 13:45:51 +01:00
parent aeff72ac7b
commit 15c2faffde
No known key found for this signature in database
GPG Key ID: E1E048B63AC5AC2B
1 changed files with 0 additions and 12 deletions

View File

@ -2173,17 +2173,6 @@ RED.nodes = (function() {
for (i=0;i<newNodes.length;i++) {
n = newNodes[i];
var id = n.id;
// TODO: remove workspace in next release+1
if (n.type != "workspace" &&
n.type != "tab" &&
n.type != "subflow" &&
n.type != "group" &&
n.type != 'junction' &&
!registry.getNodeType(n.type) &&
n.type.substring(0,8) != "subflow:" &&
unknownTypes.indexOf(n.type)==-1) {
unknownTypes.push(n.type);
}
if (n.z) {
nodeZmap[n.z] = nodeZmap[n.z] || [];
nodeZmap[n.z].push(n);
@ -2206,7 +2195,6 @@ RED.nodes = (function() {
n.z = recoveryWorkspace.id;
nodeZmap[recoveryWorkspace.id].push(n);
}
}
var activeWorkspace = RED.workspaces.active();