mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix import of config nodes with unknown z property
This commit is contained in:
parent
98b639540b
commit
2b801a756a
@ -1360,8 +1360,8 @@ RED.nodes = (function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (n.z) {
|
if (n.z && !workspaces[n.z]) {
|
||||||
n.z = workspaces[n.z] || activeWorkspace;
|
n.z = activeWorkspace;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user