mirror of
https://github.com/Readarr/Readarr
synced 2025-12-26 02:03:11 +01:00
parent
3825ecd393
commit
01b4ee1a02
1 changed files with 2 additions and 2 deletions
|
|
@ -252,8 +252,8 @@ class BookIndex extends Component {
|
|||
};
|
||||
|
||||
onSearchConfirmed = () => {
|
||||
const selectedMovieIds = this.getSelectedIds();
|
||||
const searchIds = this.state.isMovieEditorActive && selectedMovieIds.length > 0 ? selectedMovieIds : this.props.items.map((m) => m.id);
|
||||
const selectedBookIds = this.getSelectedIds();
|
||||
const searchIds = this.state.isEditorActive && selectedBookIds.length > 0 ? selectedBookIds : this.props.items.map((m) => m.id);
|
||||
|
||||
this.props.onSearchPress(searchIds);
|
||||
this.setState({ isConfirmSearchModalOpen: false });
|
||||
|
|
|
|||
Loading…
Reference in a new issue