mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
feat: add avatar email fallback
This commit is contained in:
@ -3,4 +3,4 @@ export const initials = (text: string) =>
|
||||
?.split(' ')
|
||||
.map((name: string) => name.slice(0, 1).toUpperCase())
|
||||
.slice(0, 2)
|
||||
.join('') ?? 'UK';
|
||||
.join('');
|
||||
|
||||
Reference in New Issue
Block a user