summaryrefslogtreecommitdiffstats
path: root/webapp/components/add_users_to_team/add_users_to_team.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/add_users_to_team/add_users_to_team.jsx')
-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}