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}