mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Fixed: QualitySelect defaults to Profile instead of NoChange on Editor
This commit is contained in:
parent
d7e0625be7
commit
bd5bb2a63c
@ -55,7 +55,7 @@ class QualityProfileSelectInputConnector extends Component {
|
|||||||
values
|
values
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
if (!value || !_.some(values, (option) => parseInt(option.key) === value)) {
|
if (!value || !values.some((v) => v.key === value) ) {
|
||||||
const firstValue = _.find(values, (option) => !isNaN(parseInt(option.key)));
|
const firstValue = _.find(values, (option) => !isNaN(parseInt(option.key)));
|
||||||
|
|
||||||
if (firstValue) {
|
if (firstValue) {
|
||||||
|
@ -255,14 +255,10 @@ class MovieIndex extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onSaveSelected = (changes) => {
|
onSaveSelected = (changes) => {
|
||||||
const selectedMovieIds = this.getSelectedIds();
|
this.props.onSaveSelected({
|
||||||
|
movieIds: this.getSelectedIds(),
|
||||||
if (selectedMovieIds.length > 0) {
|
...changes
|
||||||
this.props.onSaveSelected({
|
});
|
||||||
movieIds: this.getSelectedIds(),
|
|
||||||
...changes
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
onOrganizeMoviePress = () => {
|
onOrganizeMoviePress = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user