remove SettingsFlag manualSave altogether

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2019-10-09 23:20:59 +01:00 committed by Travis Ralston
parent c1b591dfa2
commit 55f4a0cb44
1 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,6 @@ module.exports = createReactClass({
label: PropTypes.string, // untranslated
onChange: PropTypes.func,
isExplicit: PropTypes.bool,
manualSave: PropTypes.bool,
},
getInitialState: function() {
@ -47,7 +46,7 @@ module.exports = createReactClass({
onChange: function(checked) {
if (this.props.group && !checked) return;
if (!this.props.manualSave) this.save(checked);
this.save(checked);
this.setState({ value: checked });
if (this.props.onChange) this.props.onChange(checked);
},