From a50bf44b413d49a3a024aea6d5011935836ab734 Mon Sep 17 00:00:00 2001 From: Manus Date: Thu, 15 Jan 2026 13:23:35 -0500 Subject: [PATCH] =?UTF-8?q?Checkpoint:=20Correction=20du=20probl=C3=A8me?= =?UTF-8?q?=20"undefined"=20affich=C3=A9=20dans=20les=20emails=20:=20-=20A?= =?UTF-8?q?jout=20d'une=20condition=20pour=20ne=20pas=20afficher=20le=20he?= =?UTF-8?q?aderTitle=20s'il=20est=20null=20ou=20undefined=20-=20Modificati?= =?UTF-8?q?on=20de=20emailTemplateGenerator.ts=20ligne=20129=20-=20D=C3=A9?= =?UTF-8?q?ploiement=20sur=20le=20VPS=20de=20production=20-=20Mise=20?= =?UTF-8?q?=C3=A0=20jour=20du=20fichier=20todo.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/emailTemplateGenerator.ts | 2 +- todo.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/server/emailTemplateGenerator.ts b/server/emailTemplateGenerator.ts index 42f405d..181ba8a 100644 --- a/server/emailTemplateGenerator.ts +++ b/server/emailTemplateGenerator.ts @@ -126,7 +126,7 @@ function buildEmailHTML(template: EmailTemplate, content: string, variables?: Em
${template.logoUrl ? `Logo` : ''} -

${template.headerTitle}

+ ${template.headerTitle ? `

${template.headerTitle}

` : ''}
${emailBody} diff --git a/todo.md b/todo.md index 4c6e31e..a978f40 100644 --- a/todo.md +++ b/todo.md @@ -821,3 +821,4 @@ - [x] Corriger l'erreur "Cannot read properties of undefined (reading 'replace')" lors de l'envoi de test de rappel - [x] Améliorer le bouton "Tester le rappel" pour utiliser automatiquement le bon template configuré pour la séquence (au lieu de toujours envoyer rappel J-7) - [x] Modifier la procédure testerRappel pour envoyer le rappel à tous les inscrits confirmés (au lieu du premier uniquement) +- [x] Corriger le problème "undefined" au début du texte dans le template de rappel 3