Skip to content

Commit

Permalink
Fix import of config nodes with unknown z property
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Nov 17, 2020
1 parent 98b6395 commit 2b801a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node_modules/@node-red/editor-client/src/js/nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -1360,8 +1360,8 @@ RED.nodes = (function() {
}
}
} else {
if (n.z) {
n.z = workspaces[n.z] || activeWorkspace;
if (n.z && !workspaces[n.z]) {
n.z = activeWorkspace;
}
}

Expand Down

0 comments on commit 2b801a7

Please sign in to comment.