Commit dc325eb7 authored by Gilang Gumilar's avatar Gilang Gumilar

Make value stream the default link of Analytics sidebar item menu

parent c712efd9
- navbar_links = links.sort_by { |link| [link.link_to_options.fetch(:data, {}).fetch(:priority, 0), link.title] } - navbar_links = links.sort_by(&:title)
- all_paths = navbar_links.map(&:path) - 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
......
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