Merge pull request #9186 from colinux/fix-dossier-badge-state-icon
Design: corrige badge en_instruction & accepte pour avoir les badges, contrairement aux autres états
This commit is contained in:
commit
3b9bb15c13
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