itizawa 6 jaren geleden
bovenliggende
commit
6fd01cf9d0
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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() {