Commit 8629e751 authored by Kamil Trzciński's avatar Kamil Trzciński

Merge branch 'fix_feature_flag_licenses_list' into 'master'

Fix feature flag for license list page

See merge request gitlab-org/gitlab!19702
parents cba8f642 60c7c99a
...@@ -44,7 +44,7 @@ module EE ...@@ -44,7 +44,7 @@ module EE
nav_tabs << :dependencies nav_tabs << :dependencies
end end
if can?(current_user, :read_licenses_list, project) if ::Feature.enabled?(:licenses_list) && can?(current_user, :read_licenses_list, project)
nav_tabs << :licenses nav_tabs << :licenses
end end
......
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