Merge branch 'feat/1.0.8/ui' of github.com:answerdev/answer into feat/1.0.8/ui

This commit is contained in:
shuai 2023-03-23 18:33:00 +08:00
commit 045daa1a2b
2 changed files with 5 additions and 2 deletions

View File

@ -30,7 +30,9 @@ const Index: FC<IProps> = ({
data.recommend && 'badge-tag-required',
className,
)}>
<span className={textClassName}>{data.display_name}</span>
<span className={textClassName}>
{data.display_name || data.slug_name}
</span>
</Link>
);
};

View File

@ -204,7 +204,8 @@ const TagIntroduction = () => {
data={{
slug_name: tagName || '',
main_tag_slug_name: '',
display_name: '',
display_name:
tagInfo?.display_name || tagInfo?.slug_name || '',
recommend: false,
reserved: false,
}}