mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
Fixed: Don't make Editor call on initial page load
This commit is contained in:
parent
5982731ef7
commit
b82d636a8c
@ -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 = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user