Fix the checkbox to disable the Welcome page
Recently, we reimplemented the Welcome page in React. Unfortunately, we broke the checkbox that enables/disables the Welcome page and it would allow checking but wouldn't allow unchecking.
This commit is contained in:
parent
6efad1348a
commit
b8a6eb4768
|
@ -95,7 +95,7 @@ class WelcomePage extends AbstractWelcomePage {
|
|||
*/
|
||||
_onDisableWelcomeChange(event) {
|
||||
this.setState({
|
||||
enableWelcomePage: !event.target.value
|
||||
enableWelcomePage: !event.target.checked
|
||||
}, () => {
|
||||
APP.settings.setWelcomePageEnabled(this.state.enableWelcomePage);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue