mirror of https://gitee.com/answerdev/answer.git
refactor(ui): modify the users page display field
This commit is contained in:
parent
6302165bc0
commit
022f5cba27
|
@ -56,7 +56,9 @@ const Users = () => {
|
|||
{user.display_name}
|
||||
</Link>
|
||||
<div className="text-secondary fs-14">
|
||||
{user.rank} {t('reputation')}
|
||||
{key === 'users_with_the_most_vote'
|
||||
? `${user.vote_count} ${t('votes')}`
|
||||
: `${user.rank} ${t('reputation')}`}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue