Skip to content

Commit 9d42027

Browse files
committed
isSupportCenterEnabled
1 parent 24904ce commit 9d42027

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,5 +417,9 @@ qx.Class.define("osparc.product.Utils", {
417417
groupServices: function() {
418418
return Boolean(osparc.store.Products.getInstance().getGroupedServicesUiConfig());
419419
},
420+
421+
isSupportCenterEnabled: function() {
422+
return Boolean(osparc.store.Products.getInstance().getSupportCenterGroupId());
423+
},
420424
}
421425
});

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,5 +125,9 @@ qx.Class.define("osparc.store.Products", {
125125
getGroupedServicesUiConfig: function() {
126126
return this.__uiConfig["groupedServices"];
127127
},
128+
129+
getSupportCenterGroupId: function() {
130+
return 2;
131+
},
128132
}
129133
});

0 commit comments

Comments
 (0)