Commit 1d2bcbcd authored by Justin Ho's avatar Justin Ho Committed by Matthias Käppler

Fix sidebar item on Jira issue details page

- The sidebar item "Jira issues" > "Issue List" was only
open on the list page but not on the details page. This
commit fixes the details page to also highlight the same
item.
- Remove unused CSS class on sprite icon.

Changelog: fixed
EE: true
parent 941e229e
......@@ -59,7 +59,7 @@ module Sidebars
::Sidebars::MenuItem.new(
title: s_('JiraService|Issue List'),
link: project_integrations_jira_issues_path(context.project),
active_routes: { path: 'projects/integrations/jira/issues#index' },
active_routes: { controller: 'projects/integrations/jira/issues' },
item_id: :issue_list
)
end
......@@ -71,7 +71,6 @@ module Sidebars
active_routes: {},
item_id: :open_jira,
sprite_icon: 'external-link',
sprite_icon_html_options: { css_class: 'gl-vertical-align-text-bottom' },
container_html_options: {
target: '_blank',
rel: 'noopener noreferrer'
......
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