Commit 7fcd35ff authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '33167-duplicate-analytics-link' into 'master'

Remove duplicate analytics link

Closes #33167

See merge request gitlab-org/gitlab!17970
parents 95017820 d8eb3773
......@@ -17,8 +17,6 @@
.dropdown-menu.frequent-items-dropdown-menu
= render "layouts/nav/groups_dropdown/show"
= render_if_exists 'layouts/nav/sidebar/analytics_link'
- if any_dashboard_nav_link?([:groups, :milestones, :activity, :snippets])
%li.header-more.dropdown
%a{ href: "#", data: { toggle: "dropdown", qa_selector: 'more_dropdown' } }
......@@ -45,7 +43,7 @@
= link_to dashboard_snippets_path, class: 'dashboard-shortcuts-snippets', data: { qa_selector: 'snippets_link' } do
= _('Snippets')
= render_if_exists 'layouts/nav/sidebar/analytics_more_link'
= render_if_exists 'layouts/nav/sidebar/analytics_link'
%li.dropdown
= render_if_exists 'dashboard/nav_link_list'
......
- if dashboard_nav_link?(:analytics)
= nav_link(controller: analytics_controllers, html_options: { class: "d-none d-xl-block" }) do
= nav_link(controller: analytics_controllers) do
= link_to analytics_root_path do
= _('Analytics')
- if dashboard_nav_link?(:analytics)
= nav_link(controller: analytics_controllers) do
= link_to analytics_root_path do
= _('Analytics')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment