diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-28 15:32:01 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2016-03-29 15:18:48 -0400 |
commit | 3634b5bab55d16b4e30caa74d08db6a88e2dfbbf (patch) | |
tree | c6a86d2baa02d3dfdb43c61e03f0a71eb41842fe /webapp | |
parent | f9deb399a94c0d8bc6c87811a82cf8e6c7d5a94f (diff) | |
download | chat-3634b5bab55d16b4e30caa74d08db6a88e2dfbbf.tar.gz chat-3634b5bab55d16b4e30caa74d08db6a88e2dfbbf.tar.bz2 chat-3634b5bab55d16b4e30caa74d08db6a88e2dfbbf.zip |
Fixed adding outgoing webhooks with only a trigger word or a channel
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/backstage/add_outgoing_webhook.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/backstage/add_outgoing_webhook.jsx b/webapp/components/backstage/add_outgoing_webhook.jsx index 808a7185d..56002dca4 100644 --- a/webapp/components/backstage/add_outgoing_webhook.jsx +++ b/webapp/components/backstage/add_outgoing_webhook.jsx @@ -66,7 +66,7 @@ export default class AddOutgoingWebhook extends React.Component { clientError: '' }); - if (!this.state.channelId || !this.state.triggerWords) { + if (!this.state.channelId && !this.state.triggerWords) { this.setState({ saving: false, clientError: ( |