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 bounty-logic.tsx

Kiran K25b33f78f3a1
diff --git a/apps/web/ui/partners/bounties/bounty-logic.tsx b/apps/web/ui/partners/bounties/bounty-logic.tsx
index 7ab8fdd45c..f4b6d4ea58 100644
--- a/apps/web/ui/partners/bounties/bounty-logic.tsx
+++ b/apps/web/ui/partners/bounties/bounty-logic.tsx
@@ -67,7 +67,15 @@ export function BountyLogic({ className }: { className?: string }) {
<InlineBadgePopoverMenu
selectedValue={field.value}
onSelect={field.onChange}
- items={WORKFLOW_ATTRIBUTES.map((attribute) => ({
+ items={WORKFLOW_ATTRIBUTES.filter(
+ (attr) =>
+ ![
+ "totalClicks",
+ "totalSales",
+ "partnerEnrolledDays",
+ "partnerJoined",
+ ].includes(attr),
+ ).map((attribute) => ({
text: WORKFLOW_ATTRIBUTE_LABELS[attribute].toLowerCase(),
value: attribute,
}))}