mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Fixed: Empty Sabnzbd category is now properly handled. But added UI validation to recommend adding a category.
This commit is contained in:
parent
a8e805fd5d
commit
6803e46782
20 changed files with 207 additions and 54 deletions
|
@ -9,10 +9,10 @@ namespace NzbDrone.Api.Metadata
|
|||
{
|
||||
}
|
||||
|
||||
protected override void Validate(MetadataDefinition definition)
|
||||
protected override void Validate(MetadataDefinition definition, bool includeWarnings)
|
||||
{
|
||||
if (!definition.Enable) return;
|
||||
base.Validate(definition);
|
||||
base.Validate(definition, includeWarnings);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue