File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
services/static-webserver/client/source/class/osparc/widget Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -316,14 +316,15 @@ qx.Class.define("osparc.widget.PersistentIframe", {
316316 break ;
317317 }
318318 case "openMarket" : {
319- const category = data [ "message" ] && data [ "message" ] [ "category" ] ;
320- osparc . vipMarket . MarketWindow . openWindow ( nodeId , category ) ;
319+ if ( osparc . product . Utils . showS4LStore ( ) ) {
320+ const category = data [ "message" ] && data [ "message" ] [ "category" ] ;
321+ setTimeout ( ( ) => osparc . vipMarket . MarketWindow . openWindow ( nodeId , category ) , 100 ) ;
322+ }
321323 break ;
322324 }
323325 case "openWallets" : {
324- const walletsEnabled = osparc . desktop . credits . Utils . areWalletsEnabled ( ) ;
325- if ( walletsEnabled ) {
326- osparc . desktop . credits . BillingCenterWindow . openWindow ( ) ;
326+ if ( osparc . desktop . credits . Utils . areWalletsEnabled ( ) ) {
327+ setTimeout ( ( ) => osparc . desktop . credits . BillingCenterWindow . openWindow ( ) , 100 ) ;
327328 }
328329 break ;
329330 }
You can’t perform that action at this time.
0 commit comments