mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-22 09:29:59 +00:00
Fixed: Error when selecting different Quality Profile
(cherry picked from commit 5e19478266b33905e88b2e769269e44e5dd98e4b) Closes #2694
This commit is contained in:
@@ -83,12 +83,7 @@ class MetadataProfileSelectInputConnector extends Component {
|
||||
// Listeners
|
||||
|
||||
onChange = ({ name, value }) => {
|
||||
const { includeNoChange } = this.props;
|
||||
|
||||
this.props.onChange({
|
||||
name,
|
||||
value: includeNoChange && value === 'noChange' ? value : parseInt(value)
|
||||
});
|
||||
this.props.onChange({ name, value: value === 'noChange' ? value : parseInt(value) });
|
||||
};
|
||||
|
||||
//
|
||||
|
||||
@@ -70,12 +70,7 @@ class QualityProfileSelectInputConnector extends Component {
|
||||
// Listeners
|
||||
|
||||
onChange = ({ name, value }) => {
|
||||
const { includeNoChange } = this.props;
|
||||
|
||||
this.props.onChange({
|
||||
name,
|
||||
value: includeNoChange && value === 'noChange' ? value : parseInt(value)
|
||||
});
|
||||
this.props.onChange({ name, value: value === 'noChange' ? value : parseInt(value) });
|
||||
};
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user