Skip to content

Commit b8368a8

Browse files
committed
make it work for guests
1 parent 24f5a39 commit b8368a8

File tree

1 file changed

+7
-0
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ qx.Class.define("osparc.store.Products", {
2727
__uiConfig: null,
2828

2929
fetchUiConfig: function() {
30+
if (osparc.auth.Data.getInstance().isGuest()) {
31+
return new Promise(resolve => {
32+
this.__uiConfig = {};
33+
resolve(this.__uiConfig);
34+
});
35+
}
36+
3037
return osparc.utils.Utils.fetchJSON("/resource/osparc/ui_config.json")
3138
.then(uiConfig => {
3239
const product = osparc.product.Utils.getProductName()

0 commit comments

Comments
 (0)