From 08e03e615c46a015373971ea1e7b3e350e90a9db Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Thu, 5 Nov 2015 22:14:40 +0100 Subject: PLT-480: Use `Utils.displayUsername` for username renderings. (fixes #874) --- web/react/components/user_profile.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/react') diff --git a/web/react/components/user_profile.jsx b/web/react/components/user_profile.jsx index c4402ae23..5ef2e8a19 100644 --- a/web/react/components/user_profile.jsx +++ b/web/react/components/user_profile.jsx @@ -54,7 +54,7 @@ export default class UserProfile extends React.Component { } } render() { - var name = this.state.profile.username; + var name = Utils.displayUsername(this.state.profile.id); if (this.props.overwriteName) { name = this.props.overwriteName; } -- cgit v1.2.3-1-g7c22