Skip to content

Commit 894a722

Browse files
committed
fix(webapp): give a watch email the same headline the chat shows
1 parent 25c8ccf commit 894a722

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal-packages/emails/src/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ export class EmailClient {
135135
}
136136
case "alert-dashboard-agent-watch": {
137137
return {
138-
subject: `[${data.organization}] Watch update: ${data.identity}`,
138+
// The headline is the same sentence the chat and Slack use; `identity` is a key.
139+
subject: `[${data.organization}] ${data.headline ?? `Watch update: ${data.identity}`}`,
139140
component: <AlertDashboardAgentWatchEmail {...data} />,
140141
};
141142
}

0 commit comments

Comments
 (0)