refactor(admin): use counter cache for dossiers count
This commit is contained in:
parent
e0178ff742
commit
419674c156
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@
|
||||||
%span.fr-badge= procedure.instructeurs_count
|
%span.fr-badge= procedure.instructeurs_count
|
||||||
|
|
||||||
= dsfr_icon('fr-icon-file-text-fill fr-ml-1w')
|
= dsfr_icon('fr-icon-file-text-fill fr-ml-1w')
|
||||||
%span.fr-badge= procedure.dossiers.state_not_brouillon.visible_by_administration.count
|
%span.fr-badge= procedure.estimated_dossiers_count
|
||||||
|
|
||||||
.text-right
|
.text-right
|
||||||
%p.fr-mb-0.width-max-content N° #{number_with_html_delimiter(procedure.id)}
|
%p.fr-mb-0.width-max-content N° #{number_with_html_delimiter(procedure.id)}
|
||||||
|
|
Loading…
Add table
Reference in a new issue