Skip to content

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

Fix bug showing invitation popups (#3513)

hq1c64ab6b6ee38
diff --git a/lib/plausible_web/live/sites.ex b/lib/plausible_web/live/sites.ex
index cd1298951d..8855fc6135 100644
--- a/lib/plausible_web/live/sites.ex
+++ b/lib/plausible_web/live/sites.ex
@@ -455,7 +455,7 @@ defmodule PlausibleWeb.Live.Sites do
x-text="selectedInvitation && selectedInvitation.role"
>Admin</b>.
</p>
- <p
+ <div
x-show="selectedInvitation && selectedInvitation.role === 'owner'"
class="mt-2 text-sm text-gray-500 dark:text-gray-200"
>
@@ -472,7 +472,7 @@ defmodule PlausibleWeb.Live.Sites do
<strong>you will have to enter your card details</strong>
to keep using Plausible.
</div>
- </p>
+ </div>
</div>
</div>
</div>