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

fix[Op#57989]: Let params default to empty has in confirmation dialog component

Kabiru Mwenjadd5571015002
diff --git a/modules/storages/app/components/storages/project_storages/destroy_confirmation_dialog_component.rb b/modules/storages/app/components/storages/project_storages/destroy_confirmation_dialog_component.rb
index 0db817199e7..ecd4b986e0d 100644
--- a/modules/storages/app/components/storages/project_storages/destroy_confirmation_dialog_component.rb
+++ b/modules/storages/app/components/storages/project_storages/destroy_confirmation_dialog_component.rb
@@ -32,7 +32,7 @@ module Storages::ProjectStorages
include OpTurbo::Streamable
include OpPrimer::ComponentHelpers
- def initialize(storage:, project_storage:, params:)
+ def initialize(storage:, project_storage:, params: {})
super
@storage = storage