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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fix[Op#50737]: Remove unused form closing method check
Kabiru Mwenja57e437114724
diff --git a/modules/storages/app/components/storages/admin/storage_view_component.html.erb b/modules/storages/app/components/storages/admin/storage_view_component.html.erbindex cf405e618d7..5f256409e4c 100644--- a/modules/storages/app/components/storages/admin/storage_view_component.html.erb+++ b/modules/storages/app/components/storages/admin/storage_view_component.html.erb@@ -30,7 +30,7 @@component.with_row(scheme: :default) dorender(OpTurbo::FrameComponent.new(id: :storage_openproject_oauth_section)) do- if storage.new_record? || openproject_oauth_application_section_closed?+ if storage.new_record?render(Storages::Admin::OAuthApplicationInfoComponent.new(oauth_application:, storage:))elserender(diff --git a/modules/storages/app/components/storages/admin/storage_view_component.rb b/modules/storages/app/components/storages/admin/storage_view_component.rbindex ba01ef49f06..e60cb3cad44 100644--- a/modules/storages/app/components/storages/admin/storage_view_component.rb+++ b/modules/storages/app/components/storages/admin/storage_view_component.rb@@ -33,15 +33,8 @@ module Storages::Admininclude OpPrimer::ComponentHelpersinclude StorageViewInformation- options openproject_oauth_application_section_open: false-alias_method :storage, :model- alias_method :openproject_oauth_application_section_open?, :openproject_oauth_application_section_opendelegate :oauth_application, to: :model-- def openproject_oauth_application_section_closed?- !openproject_oauth_application_section_open?- endendend