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-submission-details-sheet.tsx

Kiran K3a604e2f2067
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx
index 2f000f48af..83e31a1c62 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submission-details-sheet.tsx
@@ -628,6 +628,7 @@ function BountySubmissionDetailsSheetContent({
variant="danger"
text={hasMultipleMilestones ? "Reject all" : "Reject"}
shortcut="R"
+ disabled={!canReject}
disabledTooltip={rejectDisabledTooltip}
onClick={() => setShowRejectModal(true)}
/>