diff options
Diffstat (limited to 'app/views/layouts/nav/sidebar/_analytics_links.html.haml')
-rw-r--r-- | app/views/layouts/nav/sidebar/_analytics_links.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/nav/sidebar/_analytics_links.html.haml b/app/views/layouts/nav/sidebar/_analytics_links.html.haml index 58989d6afc4..92a7b97203f 100644 --- a/app/views/layouts/nav/sidebar/_analytics_links.html.haml +++ b/app/views/layouts/nav/sidebar/_analytics_links.html.haml @@ -1,6 +1,6 @@ - navbar_links = links.sort_by(&:title) - all_paths = navbar_links.map(&:path) -- analytics_link = navbar_links.find { |link| link.title == _('Value Stream') } || navbar_links.first +- analytics_link = navbar_links.find { |link| link.title == _('Value stream') } || navbar_links.first - if navbar_links.any? = nav_link(path: all_paths) do |