File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
services/static-webserver/client/source/class/osparc/data/model Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments