Merge pull request #10942 from demarches-simplifiees/fix-import-groupes-instructeurs

Correctif : ETQ admin je peux importer des groupes d'instructeurs
This commit is contained in:
Eric Leroy-Terquem 2024-10-15 19:57:50 +00:00 committed by GitHub
commit f7bd2fb68d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,6 +1,8 @@
- content_for(:title, 'Groupes') - content_for(:title, 'Groupes')
%h1 Gestion des groupes %h1 Gestion des groupes
= render Procedure::ImportComponent.new(procedure: @procedure)
= render Procedure::GroupesSearchComponent.new(procedure: @procedure, = render Procedure::GroupesSearchComponent.new(procedure: @procedure,
query: @query, query: @query,
to_configure_count: @procedure.groupe_instructeurs.filter(&:routing_to_configure?).count, to_configure_count: @procedure.groupe_instructeurs.filter(&:routing_to_configure?).count,