Fix custom domain conditional

This commit is contained in:
Uku Taht 2021-01-19 22:56:18 +02:00
parent 6ab2126ab8
commit 5220f98476

View File

@ -28,7 +28,7 @@ defmodule PlausibleWeb.LayoutView do
[key: "Goals", value: "goals"], [key: "Goals", value: "goals"],
[key: "Search Console", value: "search-console"], [key: "Search Console", value: "search-console"],
[key: "Email reports", value: "email-reports"], [key: "Email reports", value: "email-reports"],
if is_selfhost() do if !is_selfhost() do
[key: "Custom domain", value: "custom-domain"] [key: "Custom domain", value: "custom-domain"]
else else
nil nil