mirror of https://gitee.com/answerdev/answer.git
fix(#999): add tips for tag no description
This commit is contained in:
parent
324fe55d31
commit
dbc5c753ae
|
@ -332,6 +332,7 @@
|
|||
"button_following": "Following",
|
||||
"tag_label": "questions",
|
||||
"search_placeholder": "Filter by tag name",
|
||||
"no_description": "The tag has no description",
|
||||
"more": "More"
|
||||
},
|
||||
"ask": {
|
||||
|
|
|
@ -70,7 +70,7 @@ const Questions: FC = () => {
|
|||
</h3>
|
||||
|
||||
<p className="text-break">
|
||||
{tagInfo.excerpt}
|
||||
{tagInfo.excerpt || t('no_description')}
|
||||
<Link to={`/tags/${curTagName}/info`}> [{t('more')}]</Link>
|
||||
</p>
|
||||
|
||||
|
|
Loading…
Reference in New Issue