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.

exclude instead of include

Steven Teycbfd9c181099
diff --git a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/links/page-client.tsx b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/links/page-client.tsx
index a94712b288..5ee12c4e56 100644
--- a/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/links/page-client.tsx
+++ b/apps/web/app/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/links/page-client.tsx
@@ -69,10 +69,7 @@ export function ProgramLinksPageClient() {
align="start"
defaultInterval={DUB_PARTNERS_ANALYTICS_INTERVAL}
/>
- {/* TODO: Add this to Program table */}
- {["dub", "acme", "tella", "testimonial", "firecrawl"].includes(
- programSlug,
- ) && (
+ {!["framer"].includes(programSlug) && (
<Button
text="Create Link"
className="w-fit"
diff --git a/apps/web/scripts/tinybird/update-lead-event.ts b/apps/web/scripts/tinybird/update-lead-event.ts
index c109a8b683..08d4eec26e 100644
--- a/apps/web/scripts/tinybird/update-lead-event.ts
+++ b/apps/web/scripts/tinybird/update-lead-event.ts
@@ -13,9 +13,9 @@ const getLeadEvent = tb.buildPipe({
// update tinybird lead event
async function main() {
- const eventId = "nLvob3FdmsYuI1BI";
- const columnName = "link_id";
- const columnValue = "link_1JRVCZWHWACS7R2KZB9ME6CJR";
+ const eventId = "9Q22Mkh9edsHdePl";
+ const columnName = "event_name";
+ const columnValue = "Manual commission for QE6IwYufKjVaHFbreyW3";
const { data } = await getLeadEvent({ eventId });
const oldData = data[0];