mirror of https://github.com/Sonarr/Sonarr
MVC miniprofile is no longer rendered in production
This commit is contained in:
parent
a681024db2
commit
25ecd45d9b
|
@ -3,12 +3,13 @@
|
|||
@using NzbDrone.Common
|
||||
@using NzbDrone.Web.Helpers
|
||||
@section HeaderContent
|
||||
{
|
||||
@if (!EnviromentProvider.IsProduction)
|
||||
{
|
||||
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
|
||||
}
|
||||
@RenderSection("HeaderContent", required: false)
|
||||
}
|
||||
|
||||
<body>
|
||||
<div id="centered">
|
||||
<div id="menu">
|
||||
<ul>
|
||||
|
|
Loading…
Reference in New Issue