mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Fixed: Auto Tag required not showing in the UI correctly
(cherry picked from commit 08939f2fb4b6f7aca4916d8bd3b60535f3a992da)
This commit is contained in:
parent
1716651447
commit
26f80e37ec
2 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,7 @@ namespace Lidarr.Api.V3.AutoTagging
|
||||||
var spec = (IAutoTaggingSpecification)SchemaBuilder.ReadFromSchema(resource.Fields, type, null);
|
var spec = (IAutoTaggingSpecification)SchemaBuilder.ReadFromSchema(resource.Fields, type, null);
|
||||||
spec.Name = resource.Name;
|
spec.Name = resource.Name;
|
||||||
spec.Negate = resource.Negate;
|
spec.Negate = resource.Negate;
|
||||||
|
spec.Required = resource.Required;
|
||||||
return spec;
|
return spec;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@ namespace NzbDrone.Core.CustomFormats
|
||||||
public bool IsSatisfiedBy(CustomFormatInput input)
|
public bool IsSatisfiedBy(CustomFormatInput input)
|
||||||
{
|
{
|
||||||
var match = IsSatisfiedByWithoutNegate(input);
|
var match = IsSatisfiedByWithoutNegate(input);
|
||||||
|
|
||||||
if (Negate)
|
if (Negate)
|
||||||
{
|
{
|
||||||
match = !match;
|
match = !match;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue