Explorar el Código

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.
master
Lyubomir Marinov hace 9 años
padre
commit
b8a6eb4768
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      react/features/welcome/components/WelcomePage.web.js

+ 1
- 1
react/features/welcome/components/WelcomePage.web.js Ver fichero

@@ -95,7 +95,7 @@ class WelcomePage extends AbstractWelcomePage {
95 95
      */
96 96
     _onDisableWelcomeChange(event) {
97 97
         this.setState({
98
-            enableWelcomePage: !event.target.value
98
+            enableWelcomePage: !event.target.checked
99 99
         }, () => {
100 100
             APP.settings.setWelcomePageEnabled(this.state.enableWelcomePage);
101 101
         });

Loading…
Cancelar
Guardar