diff --git a/apps/web/components/admin/mails/sequences-list.tsx b/apps/web/components/admin/mails/sequences-list.tsx index e76d9b0be..fc6bbae8a 100644 --- a/apps/web/components/admin/mails/sequences-list.tsx +++ b/apps/web/components/admin/mails/sequences-list.tsx @@ -158,7 +158,10 @@ const SequencesList = ({ (broadcast.emails[0].subject === " " ? "--" : broadcast.emails[0].subject)} - {type === "sequence" && broadcast.title} + {type === "sequence" && + (broadcast.title === " " + ? "Untitled Sequence" + : broadcast.title)} diff --git a/apps/web/config/strings.ts b/apps/web/config/strings.ts index a8f31bdea..ebebbf546 100644 --- a/apps/web/config/strings.ts +++ b/apps/web/config/strings.ts @@ -127,8 +127,9 @@ export const internal = { invalid_cloud_storage_settings: "Cloud storage settings are invalid", domain_not_specified: "Domain is not specified", default_group_name: "First section", - default_email_broadcast_subject: "New broadcast", + default_email_broadcast_subject: "Untitled broadcast", default_email_sequence_subject: "First email", + default_email_sequence_name: "Untitled Sequence", default_email_content: "

Replace this with actual content.

\n

You can use HTML.

\n

We also support Liquid.

\n
\n

Our mailing address is:

\n

{{ address }}

\nUnsubscribe", }; diff --git a/apps/web/graphql/mails/logic.ts b/apps/web/graphql/mails/logic.ts index bbd6732f8..c4bc69c8a 100644 --- a/apps/web/graphql/mails/logic.ts +++ b/apps/web/graphql/mails/logic.ts @@ -113,7 +113,7 @@ export async function createSequence( domain: ctx.subdomain._id, type, status: Constants.sequenceStatus[0], - title: " ", + title: internal.default_email_sequence_name, creatorId: ctx.user.userId, emails: [ {