The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix row county for BountySubmissionsTable
Steven Tey5cfabdfeb498
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submissions-table.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submissions-table.tsxindex b1122e1004..190de13994 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submissions-table.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/bounties/[bountyId]/bounty-submissions-table.tsx@@ -333,8 +333,12 @@ export function BountySubmissionsTable() {onPaginationChange: setPagination,thClassName: "border-l-0",tdClassName: "border-l-0",- resourceName: (p) => `submission${p ? "s" : ""}`,- rowCount: submissions?.length || 0,+ resourceName: (p) =>+ `${bounty?.type === "performance" ? "partner" : "submission"}${p ? "s" : ""}`,+ rowCount:+ bounty?.type === "performance"+ ? bounty.partnersCount+ : submissions?.length || 0,loading: isLoading || isBountyLoading,error: error ? "Failed to load bounty submissions" : undefined,});