style(dossier-badge): en_instruction & accepte should have badge
This commit is contained in:
parent
0d1754d715
commit
68f1d10e19
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ module DossierHelper
|
|||
status_text = dossier_display_state(state, lower: true)
|
||||
tag.span status_text, role: 'status', class: class_names(
|
||||
'fr-badge fr-badge--sm' => true,
|
||||
'fr-badge--no-icon' => [Dossier.states.fetch(:en_instruction), Dossier.states.fetch(:accepte)].include?(state),
|
||||
'fr-badge--no-icon' => [Dossier.states.fetch(:en_instruction), Dossier.states.fetch(:accepte)].exclude?(state),
|
||||
class_badge_state(state) => true,
|
||||
alignment_class => true
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue