Fix if gestionnaire is nil (sentry issue : https://sentry.apientreprise.fr/apientreprise/tps_dev/issues/1865/)
This commit is contained in:
parent
1825c50857
commit
64f4bcf257
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
%i.bubble.avis-icon
|
||||
.width-100
|
||||
%h2.gestionnaire
|
||||
= (avis.gestionnaire.email == current_gestionnaire.email) ? 'Vous' : avis.gestionnaire.email
|
||||
= (avis.email_to_display == current_gestionnaire.email) ? 'Vous' : avis.email_to_display
|
||||
- if avis.answer.present?
|
||||
%span.date Réponse donnée le #{I18n.l(avis.updated_at.localtime, format: '%d/%m/%y')}
|
||||
- else
|
||||
|
|
Loading…
Reference in a new issue