diff --git a/ui/src/kapacitor/components/TelegramConfig.js b/ui/src/kapacitor/components/TelegramConfig.js index 9c532e13fb..7d734e6c30 100644 --- a/ui/src/kapacitor/components/TelegramConfig.js +++ b/ui/src/kapacitor/components/TelegramConfig.js @@ -7,7 +7,6 @@ const TelegramConfig = React.createClass({ 'chat-id': PropTypes.string.isRequired, 'disable-notification': PropTypes.bool.isRequired, 'disable-web-page-preview': PropTypes.bool.isRequired, - global: PropTypes.bool.isRequired, 'parse-mode': PropTypes.string.isRequired, 'state-changes-only': PropTypes.bool.isRequired, token: PropTypes.bool.isRequired, @@ -24,7 +23,6 @@ const TelegramConfig = React.createClass({ chatID: this.chatID.value, disableNotification: this.disableNotification.checked, disableWebPagePreview: this.disableWebPagePreview.checked, - global: this.global.checked, parseMode: this.parseMode.checked, stateChangesOnly: this.stateChangesOnly.checked, token: this.token.value, @@ -36,7 +34,7 @@ const TelegramConfig = React.createClass({ render() { const {options} = this.props.config; - const {global, url, token} = options; + const {url, token} = options; const chatID = options['chat-id']; const disableNotification = options['chat-id']; const disableWebPagePreview = options['disable-web-page-preview']; @@ -86,13 +84,6 @@ const TelegramConfig = React.createClass({ -