fix(siret): remove message "nous récupérons…" without siret
This commit is contained in:
parent
954652fcf5
commit
f8d075c187
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue