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.

Event table tweaks

Tim Wilsonf54321208d49
diff --git a/apps/web/ui/analytics/events/events-table.tsx b/apps/web/ui/analytics/events/events-table.tsx
index 5008b226a9..05d9382453 100644
--- a/apps/web/ui/analytics/events/events-table.tsx
+++ b/apps/web/ui/analytics/events/events-table.tsx
@@ -68,7 +68,7 @@ const eventColumns: Record<
],
},
sales: {
- all: ["saleType", "link", "country", "device", "amount", "timestamp"],
+ all: ["event", "link", "country", "device", "amount", "timestamp"],
defaultVisible: ["saleType", "link", "country", "amount", "timestamp"],
},
};
@@ -105,18 +105,12 @@ export default function EventsTable() {
</div>
),
},
- // Lead event name
+ // Lead/sale event name
{
id: "event",
header: "Event",
accessorKey: "event_name",
},
- // Sale type
- {
- id: "saleType",
- header: "Event",
- accessorKey: "event_name",
- },
{
id: "link",
header: "Link",
@@ -276,7 +270,6 @@ export default function EventsTable() {
// Remove side borders from table to avoid interfering with outer border
"[&_thead_tr:first-child>*]:border-t-0", // Top row
- "[&_tbody_tr:last-child>*]:border-b-0", // Bottom row
"[&_tr>*:first-child]:border-l-0", // Left column
"[&_tr>*:last-child]:border-r-0", // Right column
)}