diff --git a/src/components/Navigation/UserInformation.tsx b/src/components/Navigation/UserInformation.tsx index 6a353291e..ab2a9fb00 100644 --- a/src/components/Navigation/UserInformation.tsx +++ b/src/components/Navigation/UserInformation.tsx @@ -26,8 +26,12 @@ export const UserInformation: React.FC<{}> = () => { {profile.value == null ? ( ) : ( - profile.value.preferredUsername - )} + profile.value.preferredUsername == null || profile.value.preferredUsername == "" ? ( + profile.value.name + ) : ( + profile.value.preferredUsername + ) + )} );