This commit is contained in:
Jamie.Rees 2016-12-29 10:02:52 +00:00
commit ad2169ca17
3 changed files with 6 additions and 3 deletions

View file

@ -57,6 +57,7 @@ namespace Ombi.UI.Modules.Admin
WatcherSettings = watcher;
Analytics = a;
CpSettings = cp;
Before += (ctx) => Security.AdminLoginRedirect(Permissions.Administrator, ctx);

View file

@ -101,7 +101,8 @@ namespace Ombi.UI.Modules
|| x.Name.Equals(JobNames.PlexChecker)
|| x.Name.Equals(JobNames.SonarrCacher)
|| x.Name.Equals(JobNames.SrCacher)
|| x.Name.Equals(JobNames.PlexCacher));
|| x.Name.Equals(JobNames.PlexCacher)
|| x.Name.Equals(JobNames.WatcherCacher));
return Response.AsJson(cacherJobs.Any()