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.

show email instead of name

Steven Teyef27148f9e7e
diff --git a/apps/web/ui/analytics/events/customer-row-item.tsx b/apps/web/ui/analytics/events/customer-row-item.tsx
index f06f4c2641..bdcbe56f8f 100644
--- a/apps/web/ui/analytics/events/customer-row-item.tsx
+++ b/apps/web/ui/analytics/events/customer-row-item.tsx
@@ -4,7 +4,7 @@ import { ChartActivity2, useRouterStuff } from "@dub/ui";
import Link from "next/link";
export function CustomerRowItem({ customer }: { customer: Customer }) {
- const display = customer.name || customer.email || generateRandomName();
+ const display = customer.email || customer.name || generateRandomName();
const { queryParams } = useRouterStuff();
return (
diff --git a/apps/web/ui/analytics/events/events-table.tsx b/apps/web/ui/analytics/events/events-table.tsx
index 08b3bd9a93..26bfeb5c9e 100644
--- a/apps/web/ui/analytics/events/events-table.tsx
+++ b/apps/web/ui/analytics/events/events-table.tsx
@@ -121,8 +121,8 @@ export default function EventsTable({
id: "link",
header: "Link",
accessorKey: "link",
- minSize: 150,
- size: 200,
+ minSize: 250,
+ size: 250,
maxSize: 400,
meta: {
filterParams: ({ getValue }) => ({
@@ -152,8 +152,8 @@ export default function EventsTable({
id: "customer",
header: "Customer",
accessorKey: "customer",
- minSize: 150,
- size: 230,
+ minSize: 250,
+ size: 250,
maxSize: 400,
cell: ({ getValue }) => <CustomerRowItem customer={getValue()} />,
},