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 add-edit-bounty-sheet.tsx

Tim Wilsone8d1a3ecc484
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx
index 1599c02649..7d0ba3d214 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/add-edit-bounty-sheet.tsx
@@ -91,7 +91,7 @@ function BountySheetContent({ setIsOpen, bounty }: BountySheetProps) {
: undefined,
type: bounty?.type || "performance",
submissionRequirements: bounty?.submissionRequirements || null,
- groupIds: null,
+ groupIds: bounty?.groups?.map(({ id }) => id) || null,
performanceCondition: {
operator: "gte",
},