New: Support Indexer Grab Redirects

This commit is contained in:
Qstick
2021-02-24 23:28:00 -05:00
parent a676eaeda5
commit df8ef83e40
21 changed files with 109 additions and 15 deletions

View File

@@ -39,7 +39,9 @@ function EditIndexerModalContent(props) {
implementationName,
name,
enable,
redirect,
supportsRss,
supportsRedirect,
fields,
priority
} = item;
@@ -90,6 +92,19 @@ function EditIndexerModalContent(props) {
/>
</FormGroup>
<FormGroup>
<FormLabel>{translate('Redirect')}</FormLabel>
<FormInputGroup
type={inputTypes.CHECK}
name="redirect"
helpText={'Redirect incoming download requests for indexer instead of Proxying using Prowlarr'}
isDisabled={!supportsRedirect.value}
{...redirect}
onChange={onInputChange}
/>
</FormGroup>
{
fields.map((field) => {
return (