mirror of
https://github.com/Radarr/Radarr
synced 2025-01-31 03:41:24 +00:00
Fixed: Don't make Editor call on initial page load
This commit is contained in:
parent
5982731ef7
commit
b82d636a8c
1 changed files with 8 additions and 4 deletions
|
@ -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 });
|
||||||
|
|
Loading…
Reference in a new issue