From 87746227bfbc738bf79bda35cb8c06859f186c18 Mon Sep 17 00:00:00 2001
From: Jonathan <jonfritz@gmail.com>
Date: Mon, 24 Jul 2017 08:22:19 -0400
Subject: PLT-3470: Changed all instances of user list to show full name,
 username, and nickname (#6994)

---
 webapp/components/popover_list_members/popover_list_members.jsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'webapp/components/popover_list_members/popover_list_members.jsx')

diff --git a/webapp/components/popover_list_members/popover_list_members.jsx b/webapp/components/popover_list_members/popover_list_members.jsx
index c669231f7..256f09d0e 100644
--- a/webapp/components/popover_list_members/popover_list_members.jsx
+++ b/webapp/components/popover_list_members/popover_list_members.jsx
@@ -98,8 +98,8 @@ export default class PopoverListMembers extends React.Component {
 
         if (members && teamMembers) {
             members.sort((a, b) => {
-                const aName = Utils.displayUsername(a.id);
-                const bName = Utils.displayUsername(b.id);
+                const aName = Utils.displayEntireName(a.id);
+                const bName = Utils.displayEntireName(b.id);
 
                 return aName.localeCompare(bName);
             });
@@ -112,7 +112,7 @@ export default class PopoverListMembers extends React.Component {
 
                 let name = '';
                 if (teamMembers[m.username]) {
-                    name = Utils.displayUsername(teamMembers[m.username].id);
+                    name = Utils.displayEntireNameForUser(teamMembers[m.username]);
                 }
 
                 if (name) {
-- 
cgit v1.2.3-1-g7c22

