From b8a6eb4768e54fdae24362dca4f6e5ac1f18515a Mon Sep 17 00:00:00 2001 From: Lyubomir Marinov Date: Tue, 17 Jan 2017 16:20:43 -0600 Subject: [PATCH] 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. --- react/features/welcome/components/WelcomePage.web.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/welcome/components/WelcomePage.web.js b/react/features/welcome/components/WelcomePage.web.js index 31a3ae661..988fb9e26 100644 --- a/react/features/welcome/components/WelcomePage.web.js +++ b/react/features/welcome/components/WelcomePage.web.js @@ -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); });