Skip to content

Commit

Permalink
Merge commit 'a9887c0505e60b568254a8e28c66f61e43ec4e9a' into feature/…
Browse files Browse the repository at this point in the history
…import-2023-06-06
  • Loading branch information
maatinito committed Aug 28, 2023
2 parents af0213c + a9887c0 commit c532401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/dossier_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def status_badge(state, alignment_class = '')
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
)
Expand Down

0 comments on commit c532401

Please sign in to comment.