mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(web): empty user initials (#2737)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user