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

pull/4058/head
Qstick 4 years ago
parent 5982731ef7
commit b82d636a8c

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

Loading…
Cancel
Save