Skip to content

Commit 51c2b28

Browse files
committed
minor
1 parent 16650d8 commit 51c2b28

File tree

1 file changed

+2
-13
lines changed
  • services/static-webserver/client/source/class/osparc/vipMarket

1 file changed

+2
-13
lines changed

services/static-webserver/client/source/class/osparc/vipMarket/Market.js

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,10 @@ qx.Class.define("osparc.vipMarket.Market", {
4444
url: "https://speag.swiss/PD_DirectDownload/getDownloadableItems/ComputationalPhantom",
4545
}].forEach(marketInfo => {
4646
this.__buildViPMarketPage(marketInfo);
47-
})
48-
49-
// this.__vipMarketPage = this.__getVipMarketPage();
47+
});
5048
},
5149

5250
members: {
53-
__vipMarketPage: null,
54-
55-
__getVipMarketPage: function() {
56-
const title = this.tr("ViP Models");
57-
const iconSrc = "@FontAwesome5Solid/users/20";
58-
const vipMarketView = new osparc.vipMarket.VipMarket();
59-
const page = this.addTab(title, iconSrc, vipMarketView);
60-
return page;
61-
},
62-
6351
__buildViPMarketPage: function(marketInfo) {
6452
const title = marketInfo["label"];
6553
const iconSrc = "@FontAwesome5Solid/users/20";
@@ -68,6 +56,7 @@ qx.Class.define("osparc.vipMarket.Market", {
6856
metadataUrl: marketInfo["url"],
6957
});
7058
const page = this.addTab(title, iconSrc, vipMarketView);
59+
page.category = marketInfo["category"];
7160
return page;
7261
},
7362
}

0 commit comments

Comments
 (0)