Fixed: Add back minimumAvailability for netimport lists (#3916)

pull/2/head
geogolem 5 years ago committed by Qstick
parent abe7a85a39
commit 9f36665d6d

@ -40,6 +40,7 @@ function EditNetImportModalContent(props) {
enabled,
enableAuto,
shouldMonitor,
minimumAvailability,
qualityProfileId,
rootFolderPath,
tags,
@ -115,6 +116,16 @@ function EditNetImportModalContent(props) {
/>
</FormGroup>
<FormGroup>
<FormLabel>Minimum Availability</FormLabel>
<FormInputGroup
type={inputTypes.AVAILABILITY_SELECT}
name="minimumAvailability"
{...minimumAvailability}
onChange={onInputChange}
/>
</FormGroup>
<FormGroup>
<FormLabel>Quality Profile</FormLabel>

@ -29,6 +29,7 @@ namespace Radarr.Api.V2.NetImport
resource.ShouldMonitor = definition.ShouldMonitor;
resource.RootFolderPath = definition.RootFolderPath;
resource.QualityProfileId = definition.ProfileId;
resource.MinimumAvailability = definition.MinimumAvailability;
return resource;
}
@ -47,6 +48,7 @@ namespace Radarr.Api.V2.NetImport
definition.ShouldMonitor = resource.ShouldMonitor;
definition.RootFolderPath = resource.RootFolderPath;
definition.ProfileId = resource.QualityProfileId;
definition.MinimumAvailability = resource.MinimumAvailability;
return definition;
}

Loading…
Cancel
Save