diff options
author | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-08 15:07:43 +0500 |
---|---|---|
committer | Asaad Mahmood <asaad@spinpunch.com> | 2016-03-08 15:07:43 +0500 |
commit | cc453a048d50e57802bab9363b59c2189143b784 (patch) | |
tree | cbd409ec59ad48c40b84337db9a4cf3a063e4915 /web/react/components/user_list_row.jsx | |
parent | 81ccfca2bfc91779d7bf00dbccb6f932d285a87c (diff) | |
download | chat-cc453a048d50e57802bab9363b59c2189143b784.tar.gz chat-cc453a048d50e57802bab9363b59c2189143b784.tar.bz2 chat-cc453a048d50e57802bab9363b59c2189143b784.zip |
Multiple UI Improvements
Diffstat (limited to 'web/react/components/user_list_row.jsx')
-rw-r--r-- | web/react/components/user_list_row.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/react/components/user_list_row.jsx b/web/react/components/user_list_row.jsx index 2aeca7d47..d75078619 100644 --- a/web/react/components/user_list_row.jsx +++ b/web/react/components/user_list_row.jsx @@ -10,9 +10,9 @@ export default function UserListRow({user, actions}) { let name = user.username; if (user.nickname && nameFormat === Constants.Preferences.DISPLAY_PREFER_NICKNAME) { - name = `${user.nickname} (${user.username})`; + name = `${user.nickname} (@${user.username})`; } else if ((user.first_name || user.last_name) && (nameFormat === Constants.Preferences.DISPLAY_PREFER_NICKNAME || nameFormat === Constants.Preferences.DISPLAY_PREFER_FULL_NAME)) { - name = `${Utils.getFullName(user)} (${user.username})`; + name = `${Utils.getFullName(user)} (@${user.username})`; } const buttons = actions.map((Action, index) => { |