File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed
services/static-webserver/client/source/class/osparc/desktop Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -110,15 +110,19 @@ qx.Class.define("osparc.desktop.MainPageHandler", {
110110
111111 this . setLoadingPageHeader ( qx . locale . Manager . tr ( "Loading " ) + studyData . name ) ;
112112 this . showLoadingPage ( ) ;
113- const inaccessibleServices = osparc . store . Services . getInaccessibleServices ( studyData [ "workbench" ] )
114- if ( inaccessibleServices . length ) {
115- const msg = osparc . store . Services . getInaccessibleServicesMsg ( inaccessibleServices , studyData [ "workbench" ] ) ;
116- osparc . FlashMessenger . getInstance ( ) . logAs ( msg , "ERROR" ) ;
117- this . showDashboard ( ) ;
118- return ;
119- }
120- this . showStudyEditor ( ) ;
121- this . __studyEditor . setStudyData ( studyData ) ;
113+
114+ osparc . store . Services . getStudyServicesMetadata ( studyData )
115+ . finally ( ( ) => {
116+ const inaccessibleServices = osparc . store . Services . getInaccessibleServices ( studyData [ "workbench" ] )
117+ if ( inaccessibleServices . length ) {
118+ const msg = osparc . store . Services . getInaccessibleServicesMsg ( inaccessibleServices , studyData [ "workbench" ] ) ;
119+ osparc . FlashMessenger . getInstance ( ) . logAs ( msg , "ERROR" ) ;
120+ this . showDashboard ( ) ;
121+ return ;
122+ }
123+ this . showStudyEditor ( ) ;
124+ this . __studyEditor . setStudyData ( studyData ) ;
125+ } ) ;
122126 }
123127 }
124128} ) ;
You can’t perform that action at this time.
0 commit comments