Commit 7e5e18d0 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '13629-usage-quota-button-for-subgroup-leads-to-404' into 'master'

Resolve ""Usage quota" button for subgroup leads to 404"

Closes #13629

See merge request gitlab-org/gitlab-ee!15353
parents 75548653 b1d700f8
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
%span %span
Audit Events Audit Events
- if License.feature_available?(:usage_quotas) -# Check if this is not a sub group
- if License.feature_available?(:usage_quotas) && @group.parent.nil?
= nav_link(path: 'usage_quota#index') do = nav_link(path: 'usage_quota#index') do
= link_to group_usage_quotas_path(@group), title: s_('UsageQuota|Usage Quotas') do = link_to group_usage_quotas_path(@group), title: s_('UsageQuota|Usage Quotas') do
%span %span
......
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