diff --git a/ui/src/components/Pagination/index.tsx b/ui/src/components/Pagination/index.tsx index 6c3847ef..de3ab101 100644 --- a/ui/src/components/Pagination/index.tsx +++ b/ui/src/components/Pagination/index.tsx @@ -134,7 +134,7 @@ const Index: FC = ({ path={handleParams(1)} /> - + )} {currentPage >= 5 && ( @@ -182,7 +182,7 @@ const Index: FC = ({ ); })} {totalPage > 5 && realPage + 2 < totalPage && ( - + )} {totalPage > 0 && currentPage < totalPage && ( diff --git a/ui/src/pages/Users/Personal/components/TopList/index.tsx b/ui/src/pages/Users/Personal/components/TopList/index.tsx index 42210a0f..c33fb51b 100644 --- a/ui/src/pages/Users/Personal/components/TopList/index.tsx +++ b/ui/src/pages/Users/Personal/components/TopList/index.tsx @@ -18,6 +18,7 @@ const Index: FC = ({ data, type }) => { className="mb-2" key={type === 'answer' ? item.answer_id : item.question_id}> = ({ data, type }) => { {type === 'answer' ? item.question_info.title : item.title} -
+
{item.vote_count} {t('votes', { keyPrefix: 'counts' })} @@ -41,7 +42,7 @@ const Index: FC = ({ data, type }) => {
{type === 'question' && (
0 ? 'text-success' : '' }`}> {Number(item.accepted_answer_id) > 0 ? ( @@ -58,7 +59,7 @@ const Index: FC = ({ data, type }) => { )} {type === 'answer' && item.accepted === 2 && ( -
+
{t('accepted')}