mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
@@ -168,9 +168,9 @@ class SignalRConnector extends Component {
|
|||||||
this.props.dispatchFetchIndexerStatus();
|
this.props.dispatchFetchIndexerStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
handleMovie = (body) => {
|
handleIndexer = (body) => {
|
||||||
const action = body.action;
|
const action = body.action;
|
||||||
const section = 'movies';
|
const section = 'indexers';
|
||||||
|
|
||||||
if (action === 'updated') {
|
if (action === 'updated') {
|
||||||
this.props.dispatchUpdateItem({ section, ...body.resource });
|
this.props.dispatchUpdateItem({ section, ...body.resource });
|
||||||
|
@@ -270,6 +270,7 @@ class IndexerIndex extends Component {
|
|||||||
isSaving,
|
isSaving,
|
||||||
saveError,
|
saveError,
|
||||||
isDeleting,
|
isDeleting,
|
||||||
|
isTestingAll,
|
||||||
deleteError,
|
deleteError,
|
||||||
onScroll,
|
onScroll,
|
||||||
onSortSelect,
|
onSortSelect,
|
||||||
@@ -310,7 +311,7 @@ class IndexerIndex extends Component {
|
|||||||
<PageToolbarButton
|
<PageToolbarButton
|
||||||
label={'Test All Indexers'}
|
label={'Test All Indexers'}
|
||||||
iconName={icons.TEST}
|
iconName={icons.TEST}
|
||||||
spinningName={icons.TEST}
|
isSpinning={isTestingAll}
|
||||||
isDisabled={hasNoIndexer}
|
isDisabled={hasNoIndexer}
|
||||||
onPress={this.props.onTestAllPress}
|
onPress={this.props.onTestAllPress}
|
||||||
/>
|
/>
|
||||||
@@ -489,6 +490,7 @@ IndexerIndex.propTypes = {
|
|||||||
isSaving: PropTypes.bool.isRequired,
|
isSaving: PropTypes.bool.isRequired,
|
||||||
saveError: PropTypes.object,
|
saveError: PropTypes.object,
|
||||||
isDeleting: PropTypes.bool.isRequired,
|
isDeleting: PropTypes.bool.isRequired,
|
||||||
|
isTestingAll: PropTypes.bool.isRequired,
|
||||||
deleteError: PropTypes.object,
|
deleteError: PropTypes.object,
|
||||||
onSortSelect: PropTypes.func.isRequired,
|
onSortSelect: PropTypes.func.isRequired,
|
||||||
onFilterSelect: PropTypes.func.isRequired,
|
onFilterSelect: PropTypes.func.isRequired,
|
||||||
|
Reference in New Issue
Block a user