Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: badges index page show award count

shuai9594acb6e6c6
diff --git a/ui/src/pages/Badges/index.tsx b/ui/src/pages/Badges/index.tsx
index 39628062..73cb77b0 100644
--- a/ui/src/pages/Badges/index.tsx
+++ b/ui/src/pages/Badges/index.tsx
@@ -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>