mirror of https://gitee.com/answerdev/answer.git
Merge branch 'feat/1.0.8/ui' of github.com:answerdev/answer into feat/1.0.8/ui
This commit is contained in:
commit
045daa1a2b
|
@ -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>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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,
|
||||
}}
|
||||
|
|
Loading…
Reference in New Issue