yusuketk 7 лет назад
Родитель
Сommit
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);