demarches-normaliennes/app/views/administrateurs/exports/download.turbo_stream.haml
Colin Darie fc66f4b05d
refactor(exports): drop useless exports relation dependency for exports dropdown
Since the dropdown does not list download links anymore,
we don't have to pass them a dynamic exports list.

Co-Authored-By: Lisa Durand <lisa.c.durand@gmail.com>
2023-09-28 12:35:08 +02:00

4 lines
305 B
Text

-# not renderable as administrateur flagged as manager, so render it anyway
- if @can_download_dossiers
= turbo_stream.update_all '.procedure-actions' do
= render Dossiers::ExportDropdownComponent.new(procedure: @procedure, count: @dossiers_count, export_url: method(:admin_procedure_exports_path))