The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update customer-table.tsx
Kiran K83f585367bcb
diff --git a/apps/web/ui/customers/customer-table/customer-table.tsx b/apps/web/ui/customers/customer-table/customer-table.tsxindex 52c2a25a96..1bffdcd839 100644--- a/apps/web/ui/customers/customer-table/customer-table.tsx+++ b/apps/web/ui/customers/customer-table/customer-table.tsx@@ -172,9 +172,10 @@ export function CustomerTable() {header: "Referral link",accessorKey: "link",meta: {- filterParams: ({ getValue }) => ({- linkId: getValue().id,- }),+ filterParams: ({ getValue }) => {+ const link = getValue();+ return link ? { linkId: link.id } : undefined;+ },},cell: ({ row }) =>row.original.link ? (