Skip to content

Commit

Permalink
fix: badge detial not show empty
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai committed Sep 4, 2024
1 parent 2ca5e8b commit b540191
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ui/src/pages/Badges/Detail/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { Link, useParams, useSearchParams } from 'react-router-dom';

// import classnames from 'classnames';

import { FormatTime, Pagination, Empty } from '@/components';
import { FormatTime, Pagination } from '@/components';
import { usePageTags, useSkeletonControl } from '@/hooks';
// import { formatCount } from '@/utils';
import { useGetBadgeInfo, useBadgeDetailList } from '@/services';
Expand Down Expand Up @@ -102,7 +102,6 @@ const Index = () => {
})
)}
</Row>
{Number(badges?.count) <= 0 && !isDetailLoading && <Empty />}
<div className="d-flex justify-content-center">
<Pagination
currentPage={page}
Expand Down

0 comments on commit b540191

Please sign in to comment.