mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-13 23:02:17 +00:00
fix: initials don't get displayed if Gravatar avatar doesn't exist
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
let gravatarURL: string | undefined = $state();
|
||||
if ($userStore) {
|
||||
createSHA256hash($userStore.email).then((email) => {
|
||||
gravatarURL = `https://www.gravatar.com/avatar/${email}`;
|
||||
gravatarURL = `https://www.gravatar.com/avatar/${email}?d=404`;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user