Commit 81c64980 authored by Clement Ho's avatar Clement Ho

Merge branch '47871-new-mr-tab-active-state' into 'master'

Resolve "Tab active state is not changing correctly on new merge request page"

Closes #47871

See merge request gitlab-org/gitlab-ce!19781
parents ea891fb3 10002088
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
= custom_icon ('illustration_no_commits') = custom_icon ('illustration_no_commits')
- else - else
%ul.merge-request-tabs.nav.nav-tabs.nav-links.no-top.no-bottom %ul.merge-request-tabs.nav.nav-tabs.nav-links.no-top.no-bottom
%li.commits-tab.active %li.commits-tab
= link_to url_for(safe_params), data: {target: 'div#commits', action: 'new', toggle: 'tab'} do = link_to url_for(safe_params), data: {target: 'div#commits', action: 'new', toggle: 'tab'} do
Commits Commits
%span.badge.badge-pill= @commits.size %span.badge.badge-pill= @commits.size
......
---
title: Fix active tab highlight when creating new merge request
merge_request: 19781
author: Jan Beckmann
type: fixed
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