diff --git a/web/app/components/workflow/header/online-users.tsx b/web/app/components/workflow/header/online-users.tsx
index d7a41d1a3d..895600d07a 100644
--- a/web/app/components/workflow/header/online-users.tsx
+++ b/web/app/components/workflow/header/online-users.tsx
@@ -4,7 +4,7 @@ import { ChevronDownIcon } from '@heroicons/react/20/solid'
import { useEffect, useState } from 'react'
import { useTranslation } from 'react-i18next'
import { useReactFlow } from 'reactflow'
-import { Avatar } from '@/app/components/base/ui/avatar'
+import { AvatarFallback, AvatarImage, AvatarRoot } from '@/app/components/base/ui/avatar'
import {
Popover,
PopoverContent,
@@ -123,6 +123,8 @@ const OnlineUsers = () => {
{visibleUsers.map((user, index) => {
const isCurrentUser = user.user_id === currentUserId
const userColor = isCurrentUser ? undefined : getUserColor(user.user_id)
+ const avatarUrl = getAvatarUrl(user)
+ const displayName = user.username || fallbackUsername
return (
@@ -135,13 +137,20 @@ const OnlineUsers = () => {
style={{ zIndex: visibleUsers.length - index }}
onClick={() => !isCurrentUser && jumpToUserCursor(user.user_id)}
>
-
+
+ {avatarUrl && (
+
+ )}
+
+ {displayName?.[0]?.toLocaleUpperCase()}
+
+