File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
services/static-webserver/client/source/class/osparc/vipMarket Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments