diff --git a/client/src/components/Endpoints/Icon.tsx b/client/src/components/Endpoints/Icon.tsx index 53f6590e3..56cba9ee8 100644 --- a/client/src/components/Endpoints/Icon.tsx +++ b/client/src/components/Endpoints/Icon.tsx @@ -3,6 +3,7 @@ import UnknownIcon from '~/components/Chat/Menus/Endpoints/UnknownIcon'; import { Plugin, GPTIcon, + UserIcon, PaLMIcon, CodeyIcon, GeminiIcon, @@ -42,7 +43,16 @@ const Icon: React.FC = (props) => { }} className={cn('relative flex items-center justify-center', props.className ?? '')} > - avatar + {!user?.avatar && !user?.username ? ( +
+ +
+ ) : ( + avatar + )} ); } else { diff --git a/client/src/components/Nav/NavLinks.tsx b/client/src/components/Nav/NavLinks.tsx index ad324132a..17a196a2e 100644 --- a/client/src/components/Nav/NavLinks.tsx +++ b/client/src/components/Nav/NavLinks.tsx @@ -10,6 +10,7 @@ import { useAuthContext } from '~/hooks/AuthContext'; import useAvatar from '~/hooks/Messages/useAvatar'; import { ExportModal } from './ExportConversation'; import { LinkIcon, GearIcon } from '~/components'; +import { UserIcon } from '~/components/svg'; import { useLocalize } from '~/hooks'; import Settings from './Settings'; import NavLink from './NavLink'; @@ -72,7 +73,20 @@ function NavLinks() { >
- + {!user?.avatar && !user?.username ? ( +
+ +
+ ) : ( + avatar + )}