Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Hide teams button if no teams.
Mike Cao0260ec57ea74
diff --git a/src/components/input/TeamsButton.tsx b/src/components/input/TeamsButton.tsxindex dcb01508d..e3b5a3a8d 100644--- a/src/components/input/TeamsButton.tsx+++ b/src/components/input/TeamsButton.tsx@@ -23,7 +23,7 @@ export function TeamsButton({close();};- if (!result) {+ if (!result?.count) {return null;}