File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
services/static-webserver/client/source/class/osparc/data/model Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -484,6 +484,8 @@ qx.Class.define("osparc.data.model.Node", {
484484 } ,
485485
486486 fetchMetadataAndPopulate : function ( nodeData , nodeUiData ) {
487+ this . __initNodeData = nodeData ;
488+ this . __initNodeUiData = nodeUiData ;
487489 this . getService ( this . getKey ( ) , this . getVersion ( ) )
488490 . then ( serviceMetadata => {
489491 this . populateWithMetadata ( serviceMetadata ) ;
Original file line number Diff line number Diff line change @@ -107,6 +107,8 @@ qx.Class.define("osparc.data.model.Workbench", {
107107 this . __nodes = { } ;
108108 this . __edges = { } ;
109109 this . __deserialize ( this . __workbenchInitData , this . __workbenchUIInitData ) ;
110+ // this.__deserializeAll(this.__workbenchInitData, this.__workbenchUIInitData);
111+ // OM: isn't this handled later?
110112 this . __workbenchInitData = null ;
111113 this . __workbenchUIInitData = null ;
112114 } ,
@@ -721,8 +723,6 @@ qx.Class.define("osparc.data.model.Workbench", {
721723 } ,
722724
723725 __deserialize : function ( workbenchInitData , workbenchUIInitData ) {
724- this . __deserializeAll ( workbenchInitData , workbenchUIInitData ) ;
725-
726726 this . __deserializeNodes ( workbenchInitData , workbenchUIInitData )
727727 . then ( ( ) => {
728728 this . __deserializeEdges ( workbenchInitData ) ;
@@ -744,6 +744,7 @@ qx.Class.define("osparc.data.model.Workbench", {
744744 }
745745 for ( const nodeId in nodeDatas ) {
746746 console . log ( "node" , nodeId , nodeDatas [ nodeId ] , nodeUiDatas [ nodeId ] ) ;
747+ this . __deserializeNode ( nodeId , nodeDatas [ nodeId ] , nodeUiDatas [ nodeId ] ) ;
747748 }
748749 } ,
749750
You can’t perform that action at this time.
0 commit comments