Fixed adding outgoing webhooks with only a trigger word or a channel
Этот коммит содержится в:
@@ -66,7 +66,7 @@ export default class AddOutgoingWebhook extends React.Component {
|
|||||||
clientError: ''
|
clientError: ''
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!this.state.channelId || !this.state.triggerWords) {
|
if (!this.state.channelId && !this.state.triggerWords) {
|
||||||
this.setState({
|
this.setState({
|
||||||
saving: false,
|
saving: false,
|
||||||
clientError: (
|
clientError: (
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user