1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-09-16 09:26:36 +02:00

Show Remove Failed option in torrent download clients

This commit is contained in:
Mark McDowall
2025-03-05 20:46:56 -08:00
parent c034282f45
commit 24ce10006e

View File

@@ -67,7 +67,6 @@ function EditDownloadClientModalContent({
implementationName,
name,
enable,
protocol,
priority,
removeCompletedDownloads,
removeFailedDownloads,
@@ -218,19 +217,17 @@ function EditDownloadClientModalContent({
/>
</FormGroup>
{protocol.value === 'torrent' ? null : (
<FormGroup>
<FormLabel>{translate('RemoveFailed')}</FormLabel>
<FormGroup>
<FormLabel>{translate('RemoveFailed')}</FormLabel>
<FormInputGroup
type={inputTypes.CHECK}
name="removeFailedDownloads"
helpText={translate('RemoveFailedDownloadsHelpText')}
{...removeFailedDownloads}
onChange={handleInputChange}
/>
</FormGroup>
)}
<FormInputGroup
type={inputTypes.CHECK}
name="removeFailedDownloads"
helpText={translate('RemoveFailedDownloadsHelpText')}
{...removeFailedDownloads}
onChange={handleInputChange}
/>
</FormGroup>
</FieldSet>
</Form>
) : null}