summaryrefslogtreecommitdiffstats
path: root/webapp/components/more_direct_channels/more_direct_channels.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/more_direct_channels/more_direct_channels.jsx')
-rw-r--r--webapp/components/more_direct_channels/more_direct_channels.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/components/more_direct_channels/more_direct_channels.jsx b/webapp/components/more_direct_channels/more_direct_channels.jsx
index 0e50eca72..46c04c46e 100644
--- a/webapp/components/more_direct_channels/more_direct_channels.jsx
+++ b/webapp/components/more_direct_channels/more_direct_channels.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';
@@ -236,7 +236,7 @@ export default class MoreDirectChannels extends React.Component {
className='more-modal__details'
>
<div className='more-modal__name'>
- {displayUsernameForUser(option)}
+ {displayEntireNameForUser(option)}
</div>
<div className='more-modal__description'>
{option.email}