Skip to content

Commit 665ba79

Browse files
committed
block sections
1 parent 585bab3 commit 665ba79

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

services/static-webserver/client/source/class/osparc/dashboard/CardBase.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
});

services/static-webserver/client/source/class/osparc/study/Utils.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)