From 96afee5b091362e87a543f3763caaa08be315ad3 Mon Sep 17 00:00:00 2001 From: Owen Young <62473795+theowenyoung@users.noreply.github.com> Date: Fri, 29 Oct 2021 11:53:14 +0800 Subject: [PATCH] ui: show user's display_name instead of username --- src/shared/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`; } -- 2.44.1