Skip to content

Commit

Permalink
Merge commit '898b9db960ad291119dad86a5ab0de485af0f6f8' 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 c532401 + 898b9db commit c3078a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/components/dossiers/message_component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ def commentaire_date
end

def highlight?
commentaire.created_at.present? && @messagerie_seen_at&.<(commentaire.created_at)
commentaire.persisted? && @messagerie_seen_at&.<(commentaire.created_at)
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

= f.number_field :duree_conservation_dossiers_dans_ds, { class: 'fr-input', placeholder: '6', required: true, max: f.object.max_duree_conservation_dossiers_dans_ds }

- if @procedure.created_at.present?
- if @procedure.persisted?
= render Dsfr::InputComponent.new(form: f, attribute: :lien_site_web, input_type: :text_field, opts: {}, required: false)

= render Dsfr::CalloutComponent.new(title: "Cadre juridique") do |c|
Expand Down

0 comments on commit c3078a1

Please sign in to comment.