Indexer Priority ESLint fixes

pull/3953/head
Mark McDowall 4 years ago
parent cd97eb3fa6
commit ae1881a68c

@ -134,7 +134,8 @@ function EditIndexerModalContent(props) {
}
<FormGroup
advancedSettings={advancedSettings}
isAdvanced={true}>
isAdvanced={true}
>
<FormLabel>Indexer Priority</FormLabel>
<FormInputGroup

@ -156,11 +156,13 @@ class Indexer extends Component {
Indexer.propTypes = {
id: PropTypes.number.isRequired,
name: PropTypes.string.isRequired,
priority: PropTypes.number.isRequired,
enableRss: PropTypes.bool.isRequired,
enableAutomaticSearch: PropTypes.bool.isRequired,
enableInteractiveSearch: PropTypes.bool.isRequired,
supportsRss: PropTypes.bool.isRequired,
supportsSearch: PropTypes.bool.isRequired,
showPriority: PropTypes.bool.isRequired,
onCloneIndexerPress: PropTypes.func.isRequired,
onConfirmDeleteIndexer: PropTypes.func.isRequired
};

@ -63,7 +63,7 @@ class Indexers extends Component {
isEditIndexerModalOpen
} = this.state;
const showPriority = items.some((index) => index.priority != 25);
const showPriority = items.some((index) => index.priority !== 25);
return (
<FieldSet legend="Indexers">

Loading…
Cancel
Save