mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
fix(web): empty user initials (#2737)
This commit is contained in:
parent
48492b9f4e
commit
756f4e5986
1 changed files with 1 additions and 1 deletions
|
@ -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()}
|
||||
</span>
|
||||
{/if}
|
||||
</figure>
|
||||
|
|
Loading…
Reference in a new issue