@@ -63,13 +63,6 @@ qx.Class.define("osparc.data.model.Node", {
6363 } ,
6464
6565 properties : {
66- initState : {
67- check : [ null , "metadataPopulated" , "metadataMissing" , "dataPopulated" ] ,
68- init : null ,
69- nullable : true ,
70- event : "changeInitState"
71- } ,
72-
7366 study : {
7467 check : "osparc.data.model.Study" ,
7568 init : null ,
@@ -492,19 +485,16 @@ qx.Class.define("osparc.data.model.Node", {
492485 return osparc . store . Services . getService ( this . getKey ( ) , this . getVersion ( ) )
493486 . then ( serviceMetadata => {
494487 this . setMetadata ( serviceMetadata ) ;
495- this . setInitState ( "metadataPopulated" ) ;
496488 this . populateNodeData ( nodeData ) ;
497489 // old place to store the position
498490 this . populateNodeUIData ( nodeData ) ;
499491 // new place to store the position and marker
500492 this . populateNodeUIData ( nodeUiData ) ;
501- this . setInitState ( "dataPopulated" ) ;
502493 } )
503494 . catch ( err => {
504495 console . log ( err ) ;
505496 const errorMsg = qx . locale . Manager . tr ( "Service metadata missing" ) ;
506497 osparc . FlashMessenger . logError ( errorMsg ) ;
507- this . setInitState ( "metadataMissing" ) ;
508498 } ) ;
509499 } ,
510500
@@ -530,7 +520,6 @@ qx.Class.define("osparc.data.model.Node", {
530520 this . setOutputs ( { } ) ;
531521 }
532522 }
533- this . setInitState ( "metadataPopulated" ) ;
534523 } ,
535524
536525 populateNodeData : function ( nodeData ) {
0 commit comments