Skip to content

Commit

Permalink
fix: badges index page show award count
Browse files Browse the repository at this point in the history
  • Loading branch information
shuashuai committed Sep 2, 2024
1 parent 11de15c commit 9594acb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ui/src/pages/Badges/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ const Index = () => {
<h5 className="mb-4">{item.group_name}</h5>
<div className="d-flex flex-wrap" style={{ margin: '-12px' }}>
{item.badges?.map((badge) => {
return <CardBadge data={badge} key={badge.id} />;
return (
<CardBadge data={badge} key={badge.id} showAwardedCount />
);
})}
</div>
</div>
Expand Down

0 comments on commit 9594acb

Please sign in to comment.