From 40c49bce9b88f6e277b5524fa34356da0f5a9390 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 23 Sep 2021 20:42:17 -0500 Subject: [PATCH] Fixed: Spinning of Test All Indexer icon #507 --- frontend/src/Components/SignalRConnector.js | 4 ++-- frontend/src/Indexer/Index/IndexerIndex.js | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frontend/src/Components/SignalRConnector.js b/frontend/src/Components/SignalRConnector.js index c4766d149..5e3265cdf 100644 --- a/frontend/src/Components/SignalRConnector.js +++ b/frontend/src/Components/SignalRConnector.js @@ -168,9 +168,9 @@ class SignalRConnector extends Component { this.props.dispatchFetchIndexerStatus(); } - handleMovie = (body) => { + handleIndexer = (body) => { const action = body.action; - const section = 'movies'; + const section = 'indexers'; if (action === 'updated') { this.props.dispatchUpdateItem({ section, ...body.resource }); diff --git a/frontend/src/Indexer/Index/IndexerIndex.js b/frontend/src/Indexer/Index/IndexerIndex.js index 2fbcea39b..883a34f55 100644 --- a/frontend/src/Indexer/Index/IndexerIndex.js +++ b/frontend/src/Indexer/Index/IndexerIndex.js @@ -270,6 +270,7 @@ class IndexerIndex extends Component { isSaving, saveError, isDeleting, + isTestingAll, deleteError, onScroll, onSortSelect, @@ -310,7 +311,7 @@ class IndexerIndex extends Component { @@ -489,6 +490,7 @@ IndexerIndex.propTypes = { isSaving: PropTypes.bool.isRequired, saveError: PropTypes.object, isDeleting: PropTypes.bool.isRequired, + isTestingAll: PropTypes.bool.isRequired, deleteError: PropTypes.object, onSortSelect: PropTypes.func.isRequired, onFilterSelect: PropTypes.func.isRequired,