New: Bulk Enable/Disable

This commit is contained in:
Qstick
2021-02-22 20:56:36 -05:00
parent a0445e1abe
commit 0f27837246
8 changed files with 107 additions and 13 deletions
+4 -4
View File
@@ -246,7 +246,7 @@ class IndexerIndex extends Component {
onSaveSelected = (changes) => {
this.props.onSaveSelected({
movieIds: this.getSelectedIds(),
indexerIds: this.getSelectedIds(),
...changes
});
}
@@ -290,7 +290,7 @@ class IndexerIndex extends Component {
allUnselected
} = this.state;
const selectedMovieIds = this.getSelectedIds();
const selectedIndexerIds = this.getSelectedIds();
const ViewComponent = getViewComponent();
const isLoaded = !!(!error && isPopulated && items.length && scroller);
@@ -448,8 +448,8 @@ class IndexerIndex extends Component {
{
isLoaded && isMovieEditorActive &&
<IndexerEditorFooter
indexerIds={selectedMovieIds}
selectedCount={selectedMovieIds.length}
indexerIds={selectedIndexerIds}
selectedCount={selectedIndexerIds.length}
isSaving={isSaving}
saveError={saveError}
isDeleting={isDeleting}