diff --git a/frontend/src/app/profile/page.tsx b/frontend/src/app/profile/page.tsx
index 30629b3b..bffaa420 100644
--- a/frontend/src/app/profile/page.tsx
+++ b/frontend/src/app/profile/page.tsx
@@ -122,7 +122,9 @@ export default function ProfilePage() {
) : null
}
avatar={
-
+
{user.avatar ? (
) : (
-
- {initials(user.first_name, user.last_name)}
-
+ initials(user.first_name, user.last_name)
)}
}
diff --git a/frontend/src/app/users/[id]/page.tsx b/frontend/src/app/users/[id]/page.tsx
index 5f0e539a..2e04a340 100644
--- a/frontend/src/app/users/[id]/page.tsx
+++ b/frontend/src/app/users/[id]/page.tsx
@@ -318,7 +318,9 @@ export default function UserDetailPage() {
) : null
}
avatar={
-
+
{avatarUrl && !avatarFailed ? (
) : (
-
- {initials}
-
+ initials
)}
}
diff --git a/frontend/src/components/users/EditUserProfileModal.tsx b/frontend/src/components/users/EditUserProfileModal.tsx
index bc9c1e2a..16ab0d1a 100644
--- a/frontend/src/components/users/EditUserProfileModal.tsx
+++ b/frontend/src/components/users/EditUserProfileModal.tsx
@@ -116,7 +116,9 @@ export default function EditUserProfileModal({
-
+
{form.avatarPreview ? (
) : (
-
- {initials}
-
+ initials
)}