The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add backlink
Steven Tey4a309641a9ce
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/customers/[customerId]/page-client.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/customers/[customerId]/page-client.tsxindex b351687c27..699c7c8b82 100644--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/customers/[customerId]/page-client.tsx+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/customers/[customerId]/page-client.tsx@@ -10,7 +10,7 @@ import { CustomerSalesTable } from "@/ui/customers/customer-sales-table";import { PageContent } from "@/ui/layout/page-content";import { PageWidthWrapper } from "@/ui/layout/page-width-wrapper";import { ProgramRewardList } from "@/ui/partners/program-reward-list";-import { ChevronRight, MoneyBill2, Tooltip, User } from "@dub/ui";+import { Button, ChevronRight, MoneyBill2, Tooltip, User } from "@dub/ui";import { cn, fetcher, formatDate } from "@dub/utils";import { addMonths, isBefore } from "date-fns";import { AlertCircle } from "lucide-react";@@ -139,6 +139,15 @@ export function ProgramCustomerPageClient() {<h2 className="py-3 text-lg font-semibold text-neutral-900">Activity</h2>+ <Link+ href={`/programs/${programSlug}/events?interval=all&event=sales&customerId=${customerId}`}+ >+ <Button+ variant="secondary"+ text="View all"+ className="h-7 px-2"+ />+ </Link></div><CustomerActivityListactivity={customer?.activity}diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/links/customers/[customerId]/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/links/customers/[customerId]/layout.tsxindex 56cdfcb466..f1a9b51d06 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/links/customers/[customerId]/layout.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/links/customers/[customerId]/layout.tsx@@ -100,7 +100,7 @@ export default function CustomerLayout({ children }: { children: ReactNode }) {Activity</h2><Link- href={`/${workspaceSlug}/events?interval=all&customerId=${customerId}`}+ href={`/${workspaceSlug}/events?interval=all&event=sales&customerId=${customerId}`}><Buttonvariant="secondary"diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/customers/[customerId]/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/customers/[customerId]/layout.tsxindex e71a385cab..4d78a8c80e 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/customers/[customerId]/layout.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/customers/[customerId]/layout.tsx@@ -100,7 +100,7 @@ export default function ProgramCustomerLayout({Activity</h2><Link- href={`/${workspaceSlug}/events?interval=all&customerId=${customerId}`}+ href={`/${workspaceSlug}/events?interval=all&event=sales&customerId=${customerId}`}><Buttonvariant="secondary"