📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
banner
Blue Mouse6bfd964b2bb8
diff --git a/web/app/components/Header/index.tsx b/web/app/components/Header/index.tsxindex 13f17814d..78d16bff9 100644--- a/web/app/components/Header/index.tsx+++ b/web/app/components/Header/index.tsx@@ -652,11 +652,26 @@ const BannerManager = () => {)}, [status, isAuthenticated, user?.planCode])+ const isExpiredTrialWithoutSubscription = useMemo(() => {+ return (+ user?.dashboardBlockReason ===+ DashboardBlockReason.subscription_cancelled &&+ user?.planCode === 'none' &&+ !!user?.trialEndDate &&+ !user?.subID+ )+ }, [+ user?.dashboardBlockReason,+ user?.planCode,+ user?.trialEndDate,+ user?.subID,+ ])+if (showSelfhostedCantReachAPIBanner) {return <SelfhostedCantReachAPIBanner />}- if (!trialBannerHidden) {+ if (!trialBannerHidden || (isExpiredTrialWithoutSubscription && status)) {return <TrialBanner status={status} rawStatus={rawStatus} />}