Skip to content

Commit 01f0943

Browse files
committed
check metadata is not null
1 parent e71fbac commit 01f0943

File tree

1 file changed

+5
-1
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+5
-1
lines changed

services/static-webserver/client/source/class/osparc/store/Services.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,11 @@ qx.Class.define("osparc.store.Services", {
293293
const unaccessibleServices = [];
294294
const wbServices = osparc.study.Utils.extractUniqueServices(workbench);
295295
wbServices.forEach(srv => {
296-
if (srv.key in allServices && srv.version in allServices[srv.key]) {
296+
if (
297+
srv.key in allServices &&
298+
srv.version in allServices[srv.key] &&
299+
allServices[srv.key][srv.version] // check metadata is not null
300+
) {
297301
return;
298302
}
299303
const idx = unaccessibleServices.findIndex(unSrv => unSrv.key === srv.key && unSrv.version === srv.version);

0 commit comments

Comments
 (0)