diff --git a/lib/plausible_web/templates/layout/settings.html.heex b/lib/plausible_web/templates/layout/settings.html.heex index e4411f1c05f4..9862f0a6830a 100644 --- a/lib/plausible_web/templates/layout/settings.html.heex +++ b/lib/plausible_web/templates/layout/settings.html.heex @@ -6,7 +6,14 @@ %{key: "Invoices", value: "billing/invoices", icon: :banknotes}, %{key: "API Keys", value: "api-keys", icon: :key}, %{key: "Danger Zone", value: "danger-zone", icon: :exclamation_triangle} - ] %> + ] + + options = + if Plausible.ee?() do + options + else + Enum.reject(options, fn option -> String.contains?(option.value, "billing") end) + end %>
<.styled_link class="text-indigo-600 font-bold text-sm" href="/sites">