瀏覽代碼

fix error

yusuketk 7 年之前
父節點
當前提交
e678eeb37f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      resource/js/components/SlackNotification.jsx

+ 1 - 0
resource/js/components/SlackNotification.jsx

@@ -46,6 +46,7 @@ export default class SlackNotification extends React.Component {
   updateStateCheckbox(event) {
     const value = event.target.checked;
     this.setState({isSlackEnabled: value});
+    this.props.onSlackOnChange(value);
     // dispatch event
     if (this.props.onEnabledFlagChange != null) {
       this.props.onEnabledFlagChange(value);