Open platform to collect and prioritize feedback
enhancement: Patch on Avatar.tsx to activate name tooltip via title attribute (#842)
Emmanuel S74ac88ed1f6d
diff --git a/public/components/common/Avatar.tsx b/public/components/common/Avatar.tsxindex 8594e5bc0..e72b108a8 100644--- a/public/components/common/Avatar.tsx+++ b/public/components/common/Avatar.tsx@@ -8,6 +8,7 @@ interface AvatarProps {user: {role?: UserRole;avatarURL: string;+ name: string;};size?: "small" | "normal" | "large";}@@ -21,5 +22,5 @@ export const Avatar = (props: AvatarProps) => {"m-staff": props.user.role && isCollaborator(props.user.role)});- return <img className={className} title={name} src={`${props.user.avatarURL}?size=50`} />;+ return <img className={className} title={props.user.name} src={`${props.user.avatarURL}?size=50`} />;};