Skip to content

Issue 2873 fix #2933

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -652,22 +652,29 @@ exports[`Render with specified profile 1`] = `
>
<div
className="src-shared-components-TopcoderHeader-___style__user-menu-handle___r6kbg"
role="button"
style={
Object {
"color": "#555555",
}
}
tabIndex={0}
/>
<div
className="src-shared-components-TopcoderHeader-___style__avatar___3BqbY"
<span
role="link"
tabIndex={0}
>
<ThemedAvatar
composeAdhocTheme="deeply"
composeContextTheme="softly"
mapThemrProps={[Function]}
themePriority="adhoc-context-default"
/>
</div>
<div
className="src-shared-components-TopcoderHeader-___style__avatar___3BqbY"
>
<ThemedAvatar
composeAdhocTheme="deeply"
composeContextTheme="softly"
mapThemrProps={[Function]}
themePriority="adhoc-context-default"
/>
</div>
</span>
</div>
<div
className="opened src-shared-components-TopcoderHeader-___style__search-icon___3w5nA"
Expand Down
4 changes: 3 additions & 1 deletion src/shared/components/TopcoderHeader/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,12 @@ export default class TopcoderHeader extends React.Component {
color: getRatingColor(_.get(normalizedProfile, 'maxRating.rating', 0)),
}}
styleName="user-menu-handle"
tabIndex={0}
role="button"
>
{normalizedProfile.handle}
</div>
{userAvatar}
<span role="link" tabIndex={0}>{userAvatar}</span>
</div>
);
} else {
Expand Down