We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bfdc9a commit f433fafCopy full SHA for f433faf
services/static-webserver/client/source/class/osparc/data/model/Node.js
@@ -553,11 +553,13 @@ qx.Class.define("osparc.data.model.Node", {
553
},
554
555
populateNodeUIData: function(nodeUIData) {
556
- if ("position" in nodeUIData) {
557
- this.setPosition(nodeUIData.position);
558
- }
559
- if ("marker" in nodeUIData) {
560
- this.addMarker(nodeUIData.marker);
+ if (nodeUIData) {
+ if ("position" in nodeUIData) {
+ this.setPosition(nodeUIData.position);
+ }
+ if ("marker" in nodeUIData) {
561
+ this.addMarker(nodeUIData.marker);
562
563
}
564
565
0 commit comments