Skip to content

Commit 032f419

Browse files
committed
Fix blocked card
1 parent 3f96c11 commit 032f419

File tree

1 file changed

+1
-8
lines changed
  • services/static-webserver/client/source/class/osparc/dashboard

1 file changed

+1
-8
lines changed

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -666,20 +666,13 @@ qx.Class.define("osparc.dashboard.CardBase", {
666666

667667
// Block card
668668
const cantReadServices = osparc.study.Utils.getCantExecuteServices(services);
669-
let inaccessibleServices = [];
670-
if (this.isResourceType("study") || this.isResourceType("template")) {
671-
inaccessibleServices = osparc.store.Services.getInaccessibleServices(this.getResourceData()["workbench"]);
672-
}
673-
if (cantReadServices.length || inaccessibleServices.length) {
669+
if (cantReadServices.length) {
674670
this.setBlocked("UNKNOWN_SERVICES");
675671
const image = "@FontAwesome5Solid/ban/";
676672
let toolTipText = this.tr("Inaccessible service(s):");
677673
cantReadServices.forEach(unSrv => {
678674
toolTipText += "<br>" + unSrv.key + ":" + osparc.service.Utils.extractVersionDisplay(unSrv.release);
679675
});
680-
inaccessibleServices.forEach(unSrv => {
681-
toolTipText += "<br>" + unSrv.key + ":" + unSrv.version;
682-
});
683676
this.__showBlockedCard(image, toolTipText);
684677
}
685678

0 commit comments

Comments
 (0)