Skip to content

Commit 2d071ce

Browse files
committed
undo
1 parent 60edcc0 commit 2d071ce

File tree

1 file changed

+2
-6
lines changed
  • services/static-webserver/client/source/class/osparc/data/model

1 file changed

+2
-6
lines changed

services/static-webserver/client/source/class/osparc/data/model/Node.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -477,9 +477,7 @@ qx.Class.define("osparc.data.model.Node", {
477477
},
478478

479479
populateNodeUIData: function(nodeUIData) {
480-
// Check with Matus
481-
// if ("position" in nodeUIData) {
482-
if (nodeUIData["position"]) {
480+
if ("position" in nodeUIData) {
483481
this.setPosition(nodeUIData.position);
484482
}
485483
if ("marker" in nodeUIData) {
@@ -501,9 +499,7 @@ qx.Class.define("osparc.data.model.Node", {
501499
},
502500

503501
populateStates: function(nodeData) {
504-
// Check with Matus
505-
// if ("progress" in nodeData) {
506-
if ("progress" in nodeData && nodeData["progress"] !== null) {
502+
if ("progress" in nodeData) {
507503
const progress = Number.parseInt(nodeData["progress"]);
508504
const oldProgress = this.getStatus().getProgress();
509505
if (this.isFilePicker() && oldProgress > 0 && oldProgress < 100) {

0 commit comments

Comments
 (0)