|
|
|
|
@ -51,7 +51,9 @@ defmodule PlausibleWeb.LayoutView do
|
|
|
|
|
end,
|
|
|
|
|
[key: "Custom Properties", value: "properties", icon: :document_text],
|
|
|
|
|
[key: "Integrations", value: "integrations", icon: :arrow_path_rounded_square],
|
|
|
|
|
[key: "Shields", value: "shields", icon: :shield_exclamation],
|
|
|
|
|
if FunWithFlags.enabled?(:shields, for: conn.assigns[:current_user]) do
|
|
|
|
|
[key: "Shields", value: "shields", icon: :shield_exclamation]
|
|
|
|
|
end,
|
|
|
|
|
[key: "Email Reports", value: "email-reports", icon: :envelope],
|
|
|
|
|
if conn.assigns[:current_user_role] == :owner do
|
|
|
|
|
[key: "Danger Zone", value: "danger-zone", icon: :exclamation_triangle]
|
|
|
|
|
|