Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Only show team CTA banner to owner when site team is not set up (#5273)

Adrian Gruntkowski250e7399a9c8
diff --git a/lib/plausible_web/templates/site/settings_people.html.heex b/lib/plausible_web/templates/site/settings_people.html.heex
index 15b39907c4..458f81b968 100644
--- a/lib/plausible_web/templates/site/settings_people.html.heex
+++ b/lib/plausible_web/templates/site/settings_people.html.heex
@@ -1,6 +1,6 @@
<.settings_tiles>
<PlausibleWeb.Team.Notice.owner_cta_banner :if={
- @site_role == :owner and not Plausible.Teams.setup?(@current_team)
+ @site_role == :owner and not Plausible.Teams.setup?(@site.team)
} />
<PlausibleWeb.Team.Notice.guest_cta_banner :if={