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.

small fixes

Steven Teya69b3aa7e222
diff --git a/apps/web/lib/actions/partners/bulk-approve-partners.ts b/apps/web/lib/actions/partners/bulk-approve-partners.ts
index 467fa9fb99..61d08c4650 100644
--- a/apps/web/lib/actions/partners/bulk-approve-partners.ts
+++ b/apps/web/lib/actions/partners/bulk-approve-partners.ts
@@ -56,6 +56,7 @@ export const bulkApprovePartnersAction = authActionClient
id: {
in: programEnrollments.map(({ id }) => id),
},
+ status: "pending",
},
data: {
status: "approved",
diff --git a/packages/utils/src/constants/pricing/pricing-plan-compare-features.tsx b/packages/utils/src/constants/pricing/pricing-plan-compare-features.tsx
index b37b91cb9e..8bbb5e62d3 100644
--- a/packages/utils/src/constants/pricing/pricing-plan-compare-features.tsx
+++ b/packages/utils/src/constants/pricing/pricing-plan-compare-features.tsx
@@ -148,15 +148,6 @@ export const PRICING_PLAN_COMPARE_FEATURES: {
category: "Partners",
href: "https://dub.co/partners",
features: [
- {
- check: {
- default: false,
- business: true,
- advanced: true,
- enterprise: true,
- },
- text: "Unlimited partners",
- },
{
check: {
default: false,
@@ -263,6 +254,27 @@ export const PRICING_PLAN_COMPARE_FEATURES: {
text: "AI landing page generator",
href: "https://dub.co/help/article/program-landing-page",
},
+ {
+ check: {
+ default: false,
+ business: true,
+ advanced: true,
+ enterprise: true,
+ },
+ text: ({ plan }) => (
+ <>
+ <strong>
+ {plan.limits.partners === 0
+ ? "No"
+ : plan.limits.partners === INFINITY_NUMBER
+ ? "Unlimited"
+ : nFormatter(plan.limits.partners)}
+ </strong>{" "}
+ partners
+ </>
+ ),
+ href: "https://dub.co/help/article/inviting-partners",
+ },
{
check: {
default: false,
@@ -514,32 +526,21 @@ export const PRICING_PLAN_COMPARE_FEATURES: {
href: "https://dub.co/contact/support",
features: [
{
- text: ({ id }) => (
- <>
- <strong>
- {
- {
- free: "Basic support",
- pro: "Elevated support",
- business: "Priority support",
- advanced: "Priority via Slack",
- enterprise: "Priority with SLA",
- }[id]
- }
- </strong>
- </>
- ),
+ text: ({ id }) =>
+ ({
+ free: "Basic support",
+ pro: "Elevated support",
+ business: "Priority support",
+ advanced: "Priority via Slack",
+ enterprise: "Priority with SLA",
+ })[id],
},
{
check: {
default: false,
enterprise: true,
},
- text: () => (
- <>
- <strong>Dedicated</strong> success manager
- </>
- ),
+ text: "Dedicated success manager",
},
],
},
diff --git a/packages/utils/src/constants/pricing/pricing-plans.tsx b/packages/utils/src/constants/pricing/pricing-plans.tsx
index cb224fb8b0..5213f9c431 100644
--- a/packages/utils/src/constants/pricing/pricing-plans.tsx
+++ b/packages/utils/src/constants/pricing/pricing-plans.tsx
@@ -368,7 +368,7 @@ export const PLANS: PlanDetails[] = [
folders: 50,
groups: INFINITY_NUMBER,
networkInvites: 0,
- partners: 5_000,
+ partners: INFINITY_NUMBER,
users: 20,
ai: 1_000,
api: 3_000,