Fixed adding outgoing webhooks with only a trigger word or a channel

Этот коммит содержится в:
Harrison Healey
2016-03-28 15:32:01 -04:00
родитель f9deb399a9
Коммит 3634b5bab5

Просмотреть файл

@@ -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: (