File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -568,6 +568,7 @@ qx.Class.define("osparc.dashboard.CardBase", {
568568 this . setServices ( services ) ;
569569 } )
570570 . catch ( err => {
571+ resourceData [ "services" ] = null ;
571572 this . setServices ( null ) ;
572573 console . error ( err ) ;
573574 } ) ;
Original file line number Diff line number Diff line change @@ -355,7 +355,9 @@ qx.Class.define("osparc.study.Utils", {
355355 } ,
356356
357357 __getBlockedState : function ( studyData ) {
358- if ( studyData [ "services" ] ) {
358+ if ( studyData [ "services" ] === null ) {
359+ return "UNKNOWN_SERVICES" ;
360+ } else if ( studyData [ "services" ] ) {
359361 const cantReadServices = osparc . study . Utils . getCantReadServices ( studyData [ "services" ] ) ;
360362 const inaccessibleServices = osparc . store . Services . getInaccessibleServices ( studyData [ "workbench" ] ) ;
361363 if ( cantReadServices . length || inaccessibleServices . length ) {
You can’t perform that action at this time.
0 commit comments