mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 22:31:13 +00:00
ui: show user's display_name instead of username
This commit is contained in:
parent
7d7b1f2475
commit
96afee5b09
1 changed files with 1 additions and 1 deletions
|
@ -1468,7 +1468,7 @@ export function communitySelectName(cv: CommunityView): string {
|
||||||
|
|
||||||
export function personSelectName(pvs: PersonViewSafe): string {
|
export function personSelectName(pvs: PersonViewSafe): string {
|
||||||
return pvs.person.local
|
return pvs.person.local
|
||||||
? pvs.person.name
|
? pvs.person.display_name
|
||||||
: `${hostname(pvs.person.actor_id)}/${pvs.person.name}`;
|
: `${hostname(pvs.person.actor_id)}/${pvs.person.name}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue