projects
/
lemmy-ui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d7b1f2
)
ui: show user's display_name instead of username
author
Owen Young
<62473795+theowenyoung@users.noreply.github.com>
Fri, 29 Oct 2021 03:53:14 +0000
(11:53 +0800)
committer
GitHub
<noreply@github.com>
Fri, 29 Oct 2021 03:53:14 +0000
(11:53 +0800)
src/shared/utils.ts
patch
|
blob
|
history
diff --git
a/src/shared/utils.ts
b/src/shared/utils.ts
index d1392f0eecd37ee3a8df6b150e0f566dff202fff..d8643c3fc3860271ba247ebcce54b14294d06411 100644
(file)
--- 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}`;
}