Fixed: Indexer doesn't get disabled when disabled in Prowlar

Fixes #88
This commit is contained in:
Qstick
2021-06-01 22:00:30 -04:00
parent 56850aa6d9
commit 06ff872674
4 changed files with 12 additions and 12 deletions

View File

@@ -137,9 +137,9 @@ namespace NzbDrone.Core.Applications.Sonarr
{
Id = id,
Name = $"{indexer.Name} (Prowlarr)",
EnableRss = indexer.AppProfile.Value.EnableRss,
EnableAutomaticSearch = indexer.AppProfile.Value.EnableAutomaticSearch,
EnableInteractiveSearch = indexer.AppProfile.Value.EnableInteractiveSearch,
EnableRss = indexer.Enable && indexer.AppProfile.Value.EnableRss,
EnableAutomaticSearch = indexer.Enable && indexer.AppProfile.Value.EnableAutomaticSearch,
EnableInteractiveSearch = indexer.Enable && indexer.AppProfile.Value.EnableInteractiveSearch,
Priority = indexer.Priority,
Implementation = indexer.Protocol == DownloadProtocol.Usenet ? "Newznab" : "Torznab",
ConfigContract = schema.ConfigContract,