diff --git a/app/views/profile/_person.rhtml b/app/views/profile/_person.rhtml index 767262c..0b68af3 100644 --- a/app/views/profile/_person.rhtml +++ b/app/views/profile/_person.rhtml @@ -26,7 +26,7 @@ <%= display_field(_('Organization website:'), profile, :organization_website) { |url| link_to(url, url) }%> - <% if !profile.enterprises.empty? %> + <% if !environment.enabled?('disable_asset_enterprises') && !profile.enterprises.empty? %>