File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
services/static-webserver/client/source/class/osparc/dashboard Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -194,14 +194,17 @@ qx.Class.define("osparc.dashboard.NewPlusMenu", {
194194 } ,
195195
196196 __addHypertools : function ( ) {
197+ const hypertoolsMenuButton = this . self ( ) . createMenuButton ( null , this . tr ( "Hypertools" ) ) ;
198+ // OM review
199+ // hypertoolsMenuButton.exclude();
200+ this . addAt ( hypertoolsMenuButton , this . __itemIdx ) ;
201+ this . __itemIdx ++ ;
202+
197203 osparc . store . Templates . getHypertools ( )
198204 . then ( hypertools => {
205+ hypertoolTypeButton . setVisibility ( hypertools . length > 0 ? "visible" : "excluded" ) ;
199206 // add entry for hypertools if there are any
200207 if ( hypertools . length ) {
201- const hypertoolsMenuButton = this . self ( ) . createMenuButton ( null , this . tr ( "Hypertools" ) ) ;
202- this . addAt ( hypertoolsMenuButton , this . __itemIdx ) ;
203- this . __itemIdx ++ ;
204-
205208 const hypertoolsMenu = new qx . ui . menu . Menu ( ) . set ( {
206209 appearance : "menu-wider" ,
207210 } ) ;
You can’t perform that action at this time.
0 commit comments