From: Owen Young <62473795+theowenyoung@users.noreply.github.com> Date: Fri, 29 Oct 2021 03:53:14 +0000 (+0800) Subject: ui: show user's display_name instead of username X-Git-Url: http://these/git/%24%7B%60data:application/static/%7B%60https:/%7Brss%7D?a=commitdiff_plain;h=96afee5b091362e87a543f3763caaa08be315ad3;p=lemmy-ui.git ui: show user's display_name instead of username --- diff --git a/src/shared/utils.ts b/src/shared/utils.ts index d1392f0..d8643c3 100644 --- a/src/shared/utils.ts +++ b/src/shared/utils.ts @@ -1468,7 +1468,7 @@ export function communitySelectName(cv: CommunityView): string { export function personSelectName(pvs: PersonViewSafe): string { return pvs.person.local - ? pvs.person.name + ? pvs.person.display_name : `${hostname(pvs.person.actor_id)}/${pvs.person.name}`; }