fix: ability to clear reply-to and from name from templates and campaigns

This commit is contained in:
Dries Augustyns
2025-12-09 15:47:27 +01:00
parent c12d0c0898
commit badb035585
8 changed files with 26 additions and 26 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ export default function TemplateEditorPage() {
subject: editedTemplate.subject,
body: editedTemplate.body,
from: editedTemplate.from,
fromName: editedTemplate.fromName || undefined,
replyTo: editedTemplate.replyTo || undefined,
fromName: editedTemplate.fromName || null,
replyTo: editedTemplate.replyTo || null,
type: editedTemplate.type,
});