mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Only apply z-recovery logic to flow nodes
This commit is contained in:
parent
12d56b8b03
commit
e8e44f9a32
@ -1150,7 +1150,7 @@ RED.nodes = (function() {
|
||||
if (n.z) {
|
||||
nodeZmap[n.z] = nodeZmap[n.z] || [];
|
||||
nodeZmap[n.z].push(n);
|
||||
} else if (n.z === 0) {
|
||||
} else if (n.hasOwnProperty('x') && n.hasOwnProperty('y') && !n.z) {
|
||||
// Hit the rare issue where node z values get set to 0.
|
||||
// Repair the flow - but we really need to track that down.
|
||||
if (!recoveryWorkspace) {
|
||||
|
Loading…
Reference in New Issue
Block a user