瀏覽代碼

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.
j8
Lyubomir Marinov 8 年之前
父節點
當前提交
b8a6eb4768
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      react/features/welcome/components/WelcomePage.web.js

+ 1
- 1
react/features/welcome/components/WelcomePage.web.js 查看文件

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

Loading…
取消
儲存