mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-20 18:02:44 +01:00
Fixed: Auto Tag required not showing in the UI correctly
(cherry picked from commit 08939f2fb4b6f7aca4916d8bd3b60535f3a992da)
This commit is contained in:
parent
37aa739611
commit
02998cd59a
@ -23,6 +23,7 @@ public ICustomFormatSpecification Clone()
|
||||
public bool IsSatisfiedBy(CustomFormatInput input)
|
||||
{
|
||||
var match = IsSatisfiedByWithoutNegate(input);
|
||||
|
||||
if (Negate)
|
||||
{
|
||||
match = !match;
|
||||
|
@ -69,6 +69,7 @@ private static IAutoTaggingSpecification MapSpecification(AutoTaggingSpecificati
|
||||
var spec = (IAutoTaggingSpecification)SchemaBuilder.ReadFromSchema(resource.Fields, type, null);
|
||||
spec.Name = resource.Name;
|
||||
spec.Negate = resource.Negate;
|
||||
spec.Required = resource.Required;
|
||||
return spec;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user