feat: add default recipients for teams and orgs (#2248)

This commit is contained in:
Catalin Pit
2026-01-13 11:32:00 +02:00
committed by GitHub
parent 5bc73a7471
commit bb3e9583e4
24 changed files with 734 additions and 24 deletions
+1 -1
View File
@@ -7,6 +7,6 @@ export const extractInitials = (text: string) =>
.slice(0, 2)
.join('');
export const recipientAbbreviation = (recipient: Recipient) => {
export const recipientAbbreviation = (recipient: Pick<Recipient, 'name' | 'email'>) => {
return extractInitials(recipient.name) || recipient.email.slice(0, 1).toUpperCase();
};