Fixed bugs related to app execution

This commit is contained in:
frikky
2021-04-22 17:44:54 +02:00
parent 6301897945
commit 312588ba0e
4 changed files with 9 additions and 28 deletions
+1 -1
View File
@@ -1348,7 +1348,7 @@ const AngularWorkflow = (props) => {
return
}
if (originalLocation.x === 0 && originalLocation.y === 0) {
if (originalLocation.x === 0 && originalLocation.y === 0 && nodedata.position !== undefined) {
console.log("Updating location!: ", nodedata)
originalLocation.x = nodedata.position.x
originalLocation.y = nodedata.position.y