mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Don't make Editor call on initial page load
This commit is contained in:
@@ -255,11 +255,15 @@ class MovieIndex extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onSaveSelected = (changes) => {
|
onSaveSelected = (changes) => {
|
||||||
|
const selectedMovieIds = this.getSelectedIds();
|
||||||
|
|
||||||
|
if (selectedMovieIds.length > 0) {
|
||||||
this.props.onSaveSelected({
|
this.props.onSaveSelected({
|
||||||
movieIds: this.getSelectedIds(),
|
movieIds: this.getSelectedIds(),
|
||||||
...changes
|
...changes
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
onOrganizeMoviePress = () => {
|
onOrganizeMoviePress = () => {
|
||||||
this.setState({ isOrganizingMovieModalOpen: true });
|
this.setState({ isOrganizingMovieModalOpen: true });
|
||||||
|
Reference in New Issue
Block a user