1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Fixed: Auto Tag required not showing in the UI correctly

(cherry picked from commit 08939f2fb4b6f7aca4916d8bd3b60535f3a992da)
This commit is contained in:
Mark McDowall
2023-08-28 09:49:32 -07:00
committed by Bogdan
parent 37aa739611
commit 02998cd59a
2 changed files with 2 additions and 0 deletions

View File

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

View File

@@ -69,6 +69,7 @@ namespace Radarr.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;
}
}