📈 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
organisations only for selfhosted
Blue Mouse53846573be69
diff --git a/web/app/components/Header/index.tsx b/web/app/components/Header/index.tsxindex de6d4d21c..c36849243 100644--- a/web/app/components/Header/index.tsx+++ b/web/app/components/Header/index.tsx@@ -443,18 +443,20 @@ const ProfileMenu = ({</Link>)}</MenuItem>- <MenuItem>- {({ active }) => (- <Link- to={routes.organisations}- className={cx('block px-4 py-2 text-sm text-gray-700 dark:text-gray-50', {- 'bg-gray-100 dark:bg-slate-800': active,- })}- >- {t('organisations.organisations')}- </Link>- )}- </MenuItem>+ {!isSelfhosted && (+ <MenuItem>+ {({ active }) => (+ <Link+ to={routes.organisations}+ className={cx('block px-4 py-2 text-sm text-gray-700 dark:text-gray-50', {+ 'bg-gray-100 dark:bg-slate-800': active,+ })}+ >+ {t('organisations.organisations')}+ </Link>+ )}+ </MenuItem>+ )}<MenuItem>{({ active }) => (<p@@ -1138,13 +1140,15 @@ const Header = ({ ssrTheme, authenticated, refPage, transparent }: HeaderProps)>{t('common.accountSettings')}</Link>- <Link- to={routes.organisations}- onClick={() => setMobileMenuOpen(false)}- className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'- >- {t('organisations.organisations')}- </Link>+ {!isSelfhosted && (+ <Link+ to={routes.organisations}+ onClick={() => setMobileMenuOpen(false)}+ className='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'+ >+ {t('organisations.organisations')}+ </Link>+ )}<spanclassName='-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-300/50 dark:text-gray-50 dark:hover:bg-slate-700/80'onClick={logoutHandler}