1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-31 20:35:37 +00:00

Fixed: Don't make Editor call on initial page load

This commit is contained in:
Qstick 2020-07-04 22:31:13 -04:00
parent 5982731ef7
commit b82d636a8c

View file

@ -255,10 +255,14 @@ class MovieIndex extends Component {
}
onSaveSelected = (changes) => {
this.props.onSaveSelected({
movieIds: this.getSelectedIds(),
...changes
});
const selectedMovieIds = this.getSelectedIds();
if (selectedMovieIds.length > 0) {
this.props.onSaveSelected({
movieIds: this.getSelectedIds(),
...changes
});
}
}
onOrganizeMoviePress = () => {