Skip to content

Commit

Permalink
fix[Op#50212]: check for params presence, pending FormObject implemen…
Browse files Browse the repository at this point in the history
…tation
  • Loading branch information
akabiru committed Oct 26, 2023
1 parent 11188f2 commit c9d8297
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def permitted_storage_params
# See: https://github.com/opf/primer_view_components/blob/79fb58474771bd06946554f8325cd0b1bdd6dd31/app/helpers/primer/form_helper.rb#L7
#
def storage_provider_parameter_name
if OpenProject::FeatureDecisions.storage_primer_design_active?
if params.key?(:storages_nextcloud_storage)
:storages_nextcloud_storage
else
:storages_storage
Expand Down

0 comments on commit c9d8297

Please sign in to comment.