summaryrefslogtreecommitdiffstats
path: root/webapp/components/more_direct_channels
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/more_direct_channels
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/more_direct_channels')
-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}