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.

Hide pagination for events paywall

Tim Wilsonab69424cfcd0
diff --git a/apps/web/ui/analytics/events/events-table.tsx b/apps/web/ui/analytics/events/events-table.tsx
index 9aebbace94..93c39326e3 100644
--- a/apps/web/ui/analytics/events/events-table.tsx
+++ b/apps/web/ui/analytics/events/events-table.tsx
@@ -393,7 +393,7 @@ export default function EventsTable() {
columns,
pagination,
onPaginationChange: setPagination,
- rowCount: totalEvents?.[tab] ?? 0,
+ rowCount: needsHigherPlan ? 0 : totalEvents?.[tab] ?? 0,
columnVisibility: columnVisibility[tab],
onColumnVisibilityChange: (args) => setColumnVisibility(tab, args),
sortableColumns: ["timestamp", "amount"],