The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
hide news when CreateProgramCard is present
Steven Teyb9e01e0a9e0b
diff --git a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsxindex 73524864d7..9524a41921 100644--- a/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx+++ b/apps/web/ui/layout/sidebar/app-sidebar-nav.tsx@@ -269,7 +269,11 @@ export function AppSidebarNav({}),programs,session: session || undefined,- showNews: pathname.startsWith(`/${slug}/programs/`) ? false : true,+ showNews:+ pathname.startsWith(`/${slug}/programs/`) ||+ (programs && programs.length === 0)+ ? false+ : true,}}toolContent={toolContent}newsContent={newsContent}