diff --git a/web/src/lib/components/shared-components/user-avatar.svelte b/web/src/lib/components/shared-components/user-avatar.svelte index 93c3d54a94..bf6ff13824 100644 --- a/web/src/lib/components/shared-components/user-avatar.svelte +++ b/web/src/lib/components/shared-components/user-avatar.svelte @@ -73,7 +73,7 @@ class:font-medium={!autoColor} class:font-semibold={autoColor} > - {(user.firstName[0] + user.lastName[0]).toUpperCase()} + {((user.firstName[0] || '') + (user.lastName[0] || '')).toUpperCase()} {/if}