feat: post form community use title instead of name

This commit is contained in:
Owen Young 2021-10-29 05:39:41 +08:00
parent 5fb0cdc5b5
commit 7d7b1f2475

View file

@ -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}`;
} }