fix(siret): remove message "nous récupérons…" without siret

This commit is contained in:
Colin Darie 2023-03-20 13:00:50 +01:00
parent 954652fcf5
commit f8d075c187
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -15,8 +15,10 @@
- when :api_entreprise_down
= t('errors.messages.api_entreprise_down')
- when :empty
// NOOP
- else
- if siret.present?
- if siret.present? # NOTE: probably always true because siret is a symbol or the string value
- if siret == etablissement&.siret && raison_sociale_or_name(etablissement).present?
= render EditableChamp::EtablissementTitreComponent.new(etablissement: etablissement)
- else