File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
services/static-webserver/client/source/class/osparc/study Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ qx.Class.define("osparc.study.StudyPricingUnits", {
2525 layout : new qx . ui . layout . VBox ( 5 )
2626 } ) ;
2727
28+ this . __nodePricingUnits = [ ] ;
29+
2830 if ( studyData ) {
2931 this . setStudyData ( studyData ) ;
3032 }
@@ -37,6 +39,7 @@ qx.Class.define("osparc.study.StudyPricingUnits", {
3739
3840 members : {
3941 __studyData : null ,
42+ __nodePricingUnits : null ,
4043
4144 setStudyData : function ( studyData ) {
4245 this . __studyData = studyData ;
@@ -57,12 +60,17 @@ qx.Class.define("osparc.study.StudyPricingUnits", {
5760 return ;
5861 }
5962 const nodePricingUnits = new osparc . study . NodePricingUnits ( this . __studyData [ "uuid" ] , nodeId , node ) ;
63+ this . __nodePricingUnits . push ( nodePricingUnits ) ;
6064 this . _add ( nodePricingUnits ) ;
6165 promises . push ( nodePricingUnits . showPricingUnits ( ) ) ;
6266 } ) ;
6367 }
6468 Promise . all ( promises )
6569 . then ( ( ) => unitsAdded ( ) ) ;
66- }
70+ } ,
71+
72+ getNodePricingUnits : function ( ) {
73+ return this . __nodePricingUnits ;
74+ } ,
6775 }
6876} ) ;
You can’t perform that action at this time.
0 commit comments