diff --git a/NzbDrone.Web/Views/Shared/_Layout.cshtml b/NzbDrone.Web/Views/Shared/_Layout.cshtml index f4d8ec5a6..c7217ff8f 100644 --- a/NzbDrone.Web/Views/Shared/_Layout.cshtml +++ b/NzbDrone.Web/Views/Shared/_Layout.cshtml @@ -4,41 +4,42 @@ @using NzbDrone.Web.Helpers @section HeaderContent { - @MvcMiniProfiler.MiniProfiler.RenderIncludes() + @if (!EnviromentProvider.IsProduction) + { + @MvcMiniProfiler.MiniProfiler.RenderIncludes() + } @RenderSection("HeaderContent", required: false) } - -
-