Show Remove Failed option in torrent download clients

(cherry picked from commit 24ce10006eda8563b74c25a54dea92e966e6d786)
This commit is contained in:
Mark McDowall 2025-03-05 20:46:56 -08:00 committed by Bogdan
parent d4bb318253
commit a3515db9f7

View file

@ -48,7 +48,6 @@ class EditDownloadClientModalContent extends Component {
implementationName, implementationName,
name, name,
enable, enable,
protocol,
priority, priority,
removeCompletedDownloads, removeCompletedDownloads,
removeFailedDownloads, removeFailedDownloads,
@ -171,20 +170,17 @@ class EditDownloadClientModalContent extends Component {
/> />
</FormGroup> </FormGroup>
{ <FormGroup>
protocol.value !== 'torrent' && <FormLabel>{translate('RemoveFailed')}</FormLabel>
<FormGroup>
<FormLabel>{translate('RemoveFailed')}</FormLabel>
<FormInputGroup <FormInputGroup
type={inputTypes.CHECK} type={inputTypes.CHECK}
name="removeFailedDownloads" name="removeFailedDownloads"
helpText={translate('RemoveFailedDownloadsHelpText')} helpText={translate('RemoveFailedDownloadsHelpText')}
{...removeFailedDownloads} {...removeFailedDownloads}
onChange={onInputChange} onChange={onInputChange}
/> />
</FormGroup> </FormGroup>
}
</FieldSet> </FieldSet>
</Form> </Form>
} }