📈 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
don't show trial banner to non trial users
Blue Mouse1b33bf41acec
diff --git a/web/app/components/Header/index.tsx b/web/app/components/Header/index.tsxindex ad788bb71..a0f7fb553 100644--- a/web/app/components/Header/index.tsx+++ b/web/app/components/Header/index.tsx@@ -414,7 +414,7 @@ const TrialBanner = () => {return [TRIAL_STATUS_MAPPING.ENDS_IN_X_DAYS, t('header.trialBanner.youHaveXDaysLeft', { amount })]}, [user, t])- if (!status || isSelfhosted || !isAuthenticated) {+ if (!status || isSelfhosted || !isAuthenticated || !['none', 'trial'].includes(user?.planCode || '')) {return null}