1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-19 18:26:46 +01:00

fix(web): empty user initials (#2737)

This commit is contained in:
Jason Rasmussen 2023-06-12 10:11:28 -04:00 committed by GitHub
parent 48492b9f4e
commit 756f4e5986
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,7 +73,7 @@
class:font-medium={!autoColor} class:font-medium={!autoColor}
class:font-semibold={autoColor} class:font-semibold={autoColor}
> >
{(user.firstName[0] + user.lastName[0]).toUpperCase()} {((user.firstName[0] || '') + (user.lastName[0] || '')).toUpperCase()}
</span> </span>
{/if} {/if}
</figure> </figure>