From c1b591dfa2c13db46160f97ed6d20788c4d19c1f Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 9 Oct 2019 22:33:14 +0100 Subject: [PATCH] actually always run fully controlled Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/elements/SettingsFlag.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/SettingsFlag.js b/src/components/views/elements/SettingsFlag.js index f557690514..b4f372073c 100644 --- a/src/components/views/elements/SettingsFlag.js +++ b/src/components/views/elements/SettingsFlag.js @@ -48,7 +48,7 @@ module.exports = createReactClass({ if (this.props.group && !checked) return; if (!this.props.manualSave) this.save(checked); - else this.setState({ value: checked }); + this.setState({ value: checked }); if (this.props.onChange) this.props.onChange(checked); },