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() {