Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update partners-sidebar-nav.tsx

Steven Tey1a8756e51f12
diff --git a/apps/web/ui/layout/sidebar/partners-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/partners-sidebar-nav.tsx
index c9fd6d42e7..fcb9f076f1 100644
--- a/apps/web/ui/layout/sidebar/partners-sidebar-nav.tsx
+++ b/apps/web/ui/layout/sidebar/partners-sidebar-nav.tsx
@@ -128,7 +128,11 @@ const NAV_AREAS: SidebarNavAreas<SidebarNavData> = {
name: "Bounties",
icon: Trophy,
href: `/programs/${programSlug}/bounties` as `/${string}`,
- badge: programBountiesCount,
+ badge: programBountiesCount
+ ? programBountiesCount > 99
+ ? "99+"
+ : programBountiesCount
+ : "New",
locked: isUnapproved,
},
{