From eafb4599a9d630bcaad1c5a040099c57accbfbfe Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Tue, 25 Aug 2020 07:57:51 +0000 Subject: [PATCH] Do not show list for custom fields without list entry on project overview (#33889). Patch by Alexander Meindl. git-svn-id: http://svn.redmine.org/redmine/trunk@19983 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb index de99eeabe..c8745be14 100644 --- a/app/views/projects/show.html.erb +++ b/app/views/projects/show.html.erb @@ -31,7 +31,7 @@ <%= textilizable @project.description %> <% end %> - <% if @project.homepage.present? || @project.visible_custom_field_values.any?(&:present?) %> + <% if @project.homepage.present? || @project.visible_custom_field_values.any? { |o| o.value.present? } %>