File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ qx.Class.define("osparc.desktop.MainPage", {
309309 const currentStudy = store . getCurrentStudy ( ) ;
310310 while ( currentStudy . isLocked ( ) ) {
311311 await osparc . utils . Utils . sleep ( 1000 ) ;
312- osparc . store . Study ( ) . getInstance ( ) . getStudyState ( studyId ) ;
312+ osparc . store . Study . getInstance ( ) . getStudyState ( studyId ) ;
313313 }
314314 this . __loadingPage . setMessages ( [ ] ) ;
315315 this . __openSnapshot ( studyId , snapshotId ) ;
@@ -355,7 +355,7 @@ qx.Class.define("osparc.desktop.MainPage", {
355355 const currentStudy = store . getCurrentStudy ( ) ;
356356 while ( currentStudy . isLocked ( ) ) {
357357 await osparc . utils . Utils . sleep ( 1000 ) ;
358- osparc . store . Study ( ) . getInstance ( ) . getStudyState ( studyId ) ;
358+ osparc . store . Study . getInstance ( ) . getStudyState ( studyId ) ;
359359 }
360360 this . __loadingPage . setMessages ( [ ] ) ;
361361 this . __openIteration ( iterationUuid ) ;
Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ qx.Class.define("osparc.desktop.StudyEditor", {
628628 /* If no projectStateUpdated comes in 60 seconds, client must
629629 check state of pipeline and update button accordingly. */
630630 const timer = setTimeout ( ( ) => {
631- osparc . store . Study ( ) . getInstance ( ) . getStudyState ( pipelineId ) ;
631+ osparc . store . Study . getInstance ( ) . getStudyState ( pipelineId ) ;
632632 } , 60000 ) ;
633633 const socket = osparc . wrapper . WebSocket . getInstance ( ) ;
634634 socket . getSocket ( ) . once ( "projectStateUpdated" , ( { "project_uuid" : projectUuid } ) => {
@@ -928,7 +928,7 @@ qx.Class.define("osparc.desktop.StudyEditor", {
928928 } ,
929929
930930 __closeStudy : function ( ) {
931- osparc . store . Store . getInstance ( ) . closeStudy ( this . getStudy ( ) . getUuid ( ) )
931+ osparc . store . Study . getInstance ( ) . closeStudy ( this . getStudy ( ) . getUuid ( ) )
932932 . catch ( err => console . error ( err ) ) ;
933933 } ,
934934
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ qx.Class.define("osparc.study.BillingSettings", {
238238
239239 __doTransferCredits : function ( ) {
240240 const wallet = this . __getSelectedWallet ( ) ;
241- osparc . store . Study . getInstance ( ) . payDebt ( this . __studyData [ "uuid" ] , walletId , this . __studyData [ "debt" ] )
241+ osparc . store . Study . getInstance ( ) . payDebt ( this . __studyData [ "uuid" ] , wallet . getWalletId ( ) , this . __studyData [ "debt" ] )
242242 . then ( ( ) => {
243243 // at this point we can assume that the study got unblocked
244244 this . __debtPayed ( ) ;
You can’t perform that action at this time.
0 commit comments