mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-10 02:15:11 +00:00
ui: show user's display_name instead of username
This commit is contained in:
parent
7d7b1f2475
commit
96afee5b09
|
@ -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}`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue