itizawa 6 سال پیش
والد
کامیت
6fd01cf9d0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/client/js/components/Admin/Notification/UserTriggerNotification.jsx

+ 1 - 1
src/client/js/components/Admin/Notification/UserTriggerNotification.jsx

@@ -44,7 +44,7 @@ class UserTriggerNotification extends React.Component {
   }
 
   validateForm() {
-    return this.state.pathPattern !== '' && this.state.channel;
+    return this.state.pathPattern !== '' && this.state.channel !== '';
   }
 
   async onClickSubmit() {