summaryrefslogtreecommitdiffstats
path: root/webapp/components/user_list_row.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/user_list_row.jsx')
-rw-r--r--webapp/components/user_list_row.jsx8
1 files changed, 1 insertions, 7 deletions
diff --git a/webapp/components/user_list_row.jsx b/webapp/components/user_list_row.jsx
index c8a4ac7ba..af71a8f0d 100644
--- a/webapp/components/user_list_row.jsx
+++ b/webapp/components/user_list_row.jsx
@@ -14,12 +14,6 @@ import React from 'react';
import {FormattedHTMLMessage} from 'react-intl';
export default function UserListRow({user, extraInfo, actions, actionProps, actionUserProps, userCount}) {
- const displayName = Utils.displayUsernameForUser(user);
- let name = `${displayName} (@${user.username})`;
- if (displayName === user.username) {
- name = user.username;
- }
-
let buttons = null;
if (actions) {
buttons = actions.map((Action, index) => {
@@ -80,7 +74,7 @@ export default function UserListRow({user, extraInfo, actions, actionProps, acti
id={userCountID}
className='more-modal__name'
>
- {name}
+ {Utils.displayEntireNameForUser(user)}
</div>
<div
id={userCountEmail}