diff options
Diffstat (limited to 'app/helpers/nav')
-rw-r--r-- | app/helpers/nav/new_dropdown_helper.rb | 2 | ||||
-rw-r--r-- | app/helpers/nav/top_nav_helper.rb | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/app/helpers/nav/new_dropdown_helper.rb b/app/helpers/nav/new_dropdown_helper.rb index fb8fafe59f3..dc7d8049556 100644 --- a/app/helpers/nav/new_dropdown_helper.rb +++ b/app/helpers/nav/new_dropdown_helper.rb @@ -42,7 +42,7 @@ module Nav ::Gitlab::Nav::TopNavMenuItem.build( id: 'new_subgroup', title: _('New subgroup'), - href: new_group_path(parent_id: group.id), + href: new_group_path(parent_id: group.id, anchor: 'create-group-pane'), data: { track_action: 'click_link_new_subgroup', track_label: 'plus_menu_dropdown' } ) ) diff --git a/app/helpers/nav/top_nav_helper.rb b/app/helpers/nav/top_nav_helper.rb index 3ceb60251c2..efec6f2d0d8 100644 --- a/app/helpers/nav/top_nav_helper.rb +++ b/app/helpers/nav/top_nav_helper.rb @@ -81,13 +81,6 @@ module Nav **snippets_menu_item_attrs ) end - - builder.add_secondary_menu_item( - id: 'help', - title: _('Help'), - icon: 'question-o', - href: help_path - ) end def build_view_model(builder:, project:, group:) |