summaryrefslogtreecommitdiffstats
path: root/webapp/components/add_users_to_team
diff options
context:
space:
mode:
authorJonathan <jonfritz@gmail.com>2017-07-24 08:22:19 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2017-07-24 08:22:19 -0400
commit87746227bfbc738bf79bda35cb8c06859f186c18 (patch)
treee585a2e6379b25dd1478090e314a3f3224b8f7ea /webapp/components/add_users_to_team
parentb27d51d512bbb73fb322d5613dafa299843f05b9 (diff)
downloadchat-87746227bfbc738bf79bda35cb8c06859f186c18.tar.gz
chat-87746227bfbc738bf79bda35cb8c06859f186c18.tar.bz2
chat-87746227bfbc738bf79bda35cb8c06859f186c18.zip
PLT-3470: Changed all instances of user list to show full name, username, and nickname (#6994)
Diffstat (limited to 'webapp/components/add_users_to_team')
-rw-r--r--webapp/components/add_users_to_team/add_users_to_team.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/add_users_to_team/add_users_to_team.jsx b/webapp/components/add_users_to_team/add_users_to_team.jsx
index e3eb8477b..b86176c34 100644
--- a/webapp/components/add_users_to_team/add_users_to_team.jsx
+++ b/webapp/components/add_users_to_team/add_users_to_team.jsx
@@ -11,7 +11,7 @@ import UserStore from 'stores/user_store.jsx';
import TeamStore from 'stores/team_store.jsx';
import Constants from 'utils/constants.jsx';
-import {displayUsernameForUser} from 'utils/utils.jsx';
+import {displayEntireNameForUser} from 'utils/utils.jsx';
import {Client4} from 'mattermost-redux/client';
import PropTypes from 'prop-types';
@@ -178,7 +178,7 @@ export default class AddUsersToTeam extends React.Component {
className='more-modal__details'
>
<div className='more-modal__name'>
- {displayUsernameForUser(option)}
+ {displayEntireNameForUser(option)}
</div>
<div className='more-modal__description'>
{option.email}