Fixed: Auto Tag required not showing in the UI correctly

(cherry picked from commit 08939f2fb4b6f7aca4916d8bd3b60535f3a992da)
pull/4264/head
Mark McDowall 9 months ago committed by Bogdan
parent 1716651447
commit 26f80e37ec

@ -69,6 +69,7 @@ namespace Lidarr.Api.V3.AutoTagging
var spec = (IAutoTaggingSpecification)SchemaBuilder.ReadFromSchema(resource.Fields, type, null);
spec.Name = resource.Name;
spec.Negate = resource.Negate;
spec.Required = resource.Required;
return spec;
}
}

@ -23,6 +23,7 @@ namespace NzbDrone.Core.CustomFormats
public bool IsSatisfiedBy(CustomFormatInput input)
{
var match = IsSatisfiedByWithoutNegate(input);
if (Negate)
{
match = !match;

Loading…
Cancel
Save