File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ qx.Class.define("osparc.navigation.NavigationBar", {
378378 // quick starts and manuals
379379 osparc . store . Support . addQuickStartToMenu ( menu ) ;
380380 osparc . store . Support . addGuidedToursToMenu ( menu ) ;
381- osparc . store . Support . addManualButtonsToMenu ( menu , menuButton ) ;
381+ osparc . store . Support . addManualsToMenu ( menu ) ;
382382 menu . addSeparator ( ) ;
383383
384384 // feedback
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ qx.Class.define("osparc.navigation.UserMenu", {
215215 // quick starts and manuals
216216 osparc . store . Support . addQuickStartToMenu ( this ) ;
217217 osparc . store . Support . addGuidedToursToMenu ( this ) ;
218- osparc . store . Support . addManualButtonsToMenu ( this ) ;
218+ osparc . store . Support . addManualsToMenu ( this ) ;
219219 this . addSeparator ( ) ;
220220
221221 // feedbacks
Original file line number Diff line number Diff line change @@ -75,11 +75,9 @@ qx.Class.define("osparc.store.Support", {
7575 }
7676 } ,
7777
78- addManualButtonsToMenu : function ( menu , menuButton ) {
78+ addManualsToMenu : function ( menu ) {
7979 const manuals = osparc . store . Support . getManuals ( ) ;
80- if ( menuButton ) {
81- menuButton . setVisibility ( manuals && manuals . length ? "visible" : "excluded" ) ;
82- }
80+
8381 manuals . forEach ( manual => {
8482 const manualBtn = new qx . ui . menu . Button ( manual . label , "@FontAwesome5Solid/book/14" ) ;
8583 manualBtn . getChildControl ( "label" ) . set ( {
You can’t perform that action at this time.
0 commit comments