mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Merge pull request #1324 from gabel/PLT-480
PLT-480 Use `Utils.displayUsername` for username renderings
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user