helpers: fix name of procedure_estimated_fill_duration feature-flag

This commit is contained in:
Pierre de La Morinerie 2022-05-31 15:26:59 +02:00
parent d0723b684b
commit 71d33a7004

View file

@ -38,7 +38,7 @@ module ProcedureHelper
baseUrl: admin_procedure_types_de_champ_path(procedure), baseUrl: admin_procedure_types_de_champ_path(procedure),
directUploadUrl: rails_direct_uploads_url, directUploadUrl: rails_direct_uploads_url,
continuerUrl: admin_procedure_path(procedure), continuerUrl: admin_procedure_path(procedure),
estimatedFillDuration: procedure.feature_enabled?(:procedure_estimate_fill_duration) ? procedure.draft_revision.estimated_fill_duration : 0 estimatedFillDuration: procedure.feature_enabled?(:procedure_estimated_fill_duration) ? procedure.draft_revision.estimated_fill_duration : 0
} }
end end