mirror of
https://github.com/Radarr/Radarr
synced 2025-12-06 16:32:36 +01:00
Show Remove Failed option in torrent download clients
(cherry picked from commit 24ce10006eda8563b74c25a54dea92e966e6d786)
This commit is contained in:
parent
d4bb318253
commit
a3515db9f7
1 changed files with 10 additions and 14 deletions
|
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue