Skip to content

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

Do not show changelog notification in selfhost mode

Uku Tahtd5a055797bb2
diff --git a/lib/plausible_web/templates/layout/app.html.eex b/lib/plausible_web/templates/layout/app.html.eex
index 621f783916..0ec2c3e88d 100644
--- a/lib/plausible_web/templates/layout/app.html.eex
+++ b/lib/plausible_web/templates/layout/app.html.eex
@@ -58,7 +58,7 @@
</div>
</div>
</li>
- <%= if @conn.assigns[:current_user] do %>
+ <%= if @conn.assigns[:current_user] && !Application.get_env(:plausible, :is_selfhost) do %>
<li id="changelog-notification" class="relative py-2"></li>
<% end %>
</ul>