Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Skip rendering Widget Box Header if title is blank

Alexander Brandon Coles7b6ee7f54bec
diff --git a/modules/grids/app/components/grids/widget_box_component/header_component.rb b/modules/grids/app/components/grids/widget_box_component/header_component.rb
index 491b81989c6..0a6896245ae 100644
--- a/modules/grids/app/components/grids/widget_box_component/header_component.rb
+++ b/modules/grids/app/components/grids/widget_box_component/header_component.rb
@@ -44,6 +44,10 @@ module Grids
"op-widget-box--header"
)
end
+
+ def render?
+ title.present?
+ end
end
end
end