Skip to content

Commit 800e5e1

Browse files
committed
Fix name display on team member list
We incorrectly used the first alias instead of the primary
1 parent 39e33d7 commit 800e5e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/settings/teams/show.html.slim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
- @team_members.each do |member|
5050
li.member-item
5151
.member-info
52-
= member.user.aliases.first&.name || "User ##{member.user.id}"
52+
= display_name_for_user(member.user)
5353
- if member.role_admin?
5454
span.role-badge Admin
5555
.member-actions

0 commit comments

Comments
 (0)