mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 20:31:13 +00:00
feat: post form community use title instead of name
This commit is contained in:
parent
5fb0cdc5b5
commit
7d7b1f2475
1 changed files with 1 additions and 1 deletions
|
@ -1462,7 +1462,7 @@ export const choicesConfig = {
|
||||||
|
|
||||||
export function communitySelectName(cv: CommunityView): string {
|
export function communitySelectName(cv: CommunityView): string {
|
||||||
return cv.community.local
|
return cv.community.local
|
||||||
? cv.community.name
|
? cv.community.title
|
||||||
: `${hostname(cv.community.actor_id)}/${cv.community.name}`;
|
: `${hostname(cv.community.actor_id)}/${cv.community.name}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue