From d5a055797bb24042cfffac7a4ae6cec2c9d4dc60 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Tue, 26 Jan 2021 11:17:52 +0200 Subject: [PATCH] Do not show changelog notification in selfhost mode --- lib/plausible_web/templates/layout/app.html.eex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible_web/templates/layout/app.html.eex b/lib/plausible_web/templates/layout/app.html.eex index 621f78391..0ec2c3e88 100644 --- a/lib/plausible_web/templates/layout/app.html.eex +++ b/lib/plausible_web/templates/layout/app.html.eex @@ -58,7 +58,7 @@ - <%= if @conn.assigns[:current_user] do %> + <%= if @conn.assigns[:current_user] && !Application.get_env(:plausible, :is_selfhost) do %>
  • <% end %>