Commit 60c7c99a authored by Olivier Gonzalez's avatar Olivier Gonzalez Committed by Kamil Trzciński

Fix feature flag for license list page

Explicitely call Feature.enabled? to default to false
on all instances until feature is completed
parent cba8f642
......@@ -44,7 +44,7 @@ module EE
nav_tabs << :dependencies
end
if can?(current_user, :read_licenses_list, project)
if ::Feature.enabled?(:licenses_list) && can?(current_user, :read_licenses_list, project)
nav_tabs << :licenses
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