mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-06 16:55:49 +00:00
New: Option to disable automatic search on import lists
This commit is contained in:
@@ -71,6 +71,7 @@ function EditImportListModalContent(props) {
|
||||
name,
|
||||
enableAutomaticAdd,
|
||||
shouldMonitor,
|
||||
shouldSearch,
|
||||
rootFolderPath,
|
||||
qualityProfileId,
|
||||
metadataProfileId,
|
||||
@@ -148,6 +149,18 @@ function EditImportListModalContent(props) {
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>Search for New Items</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.CHECK}
|
||||
name="shouldSearch"
|
||||
helpText={'Search indexers for newly added items. Use with caution for large lists.'}
|
||||
{...shouldSearch}
|
||||
onChange={onInputChange}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>Root Folder</FormLabel>
|
||||
|
||||
|
||||
@@ -54,7 +54,8 @@ class ImportList extends Component {
|
||||
const {
|
||||
id,
|
||||
name,
|
||||
enableAutomaticAdd
|
||||
enableAutomaticAdd,
|
||||
shouldSearch
|
||||
} = this.props;
|
||||
|
||||
return (
|
||||
@@ -75,6 +76,12 @@ class ImportList extends Component {
|
||||
</Label>
|
||||
}
|
||||
|
||||
{
|
||||
shouldSearch &&
|
||||
<Label kind={kinds.SUCCESS}>
|
||||
Automatic Search
|
||||
</Label>
|
||||
}
|
||||
</div>
|
||||
|
||||
<EditImportListModalConnector
|
||||
@@ -102,6 +109,7 @@ ImportList.propTypes = {
|
||||
id: PropTypes.number.isRequired,
|
||||
name: PropTypes.string.isRequired,
|
||||
enableAutomaticAdd: PropTypes.bool.isRequired,
|
||||
shouldSearch: PropTypes.bool.isRequired,
|
||||
onConfirmDeleteImportList: PropTypes.func.isRequired
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user