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

change nil to an empty array

Behrokh Satarnejada419ae6b45ba
diff --git a/app/components/admin/design_header_component.rb b/app/components/admin/design_header_component.rb
index 4572c866554..169560b9b5d 100644
--- a/app/components/admin/design_header_component.rb
+++ b/app/components/admin/design_header_component.rb
@@ -34,7 +34,7 @@ module Admin
include ApplicationHelper
include TabsHelper
- def initialize(tabs: nil)
+ def initialize(tabs: [])
super
@tabs = tabs
end