diff --git a/ui/src/kapacitor/components/KapacitorRule.js b/ui/src/kapacitor/components/KapacitorRule.js index 02a2edaf4..e847177e3 100644 --- a/ui/src/kapacitor/components/KapacitorRule.js +++ b/ui/src/kapacitor/components/KapacitorRule.js @@ -1,6 +1,5 @@ import React, {PropTypes, Component} from 'react' -import DataSection from 'src/kapacitor/components/DataSection' import ValuesSection from 'src/kapacitor/components/ValuesSection' import RuleHeader from 'src/kapacitor/components/RuleHeader' import RuleGraph from 'src/kapacitor/components/RuleGraph' @@ -132,14 +131,14 @@ class KapacitorRule extends Component { render() { const { - queryConfigActions, - source, - enabledAlerts, - queryConfigs, - query, rule, - ruleActions, + query, + source, isEditing, + ruleActions, + queryConfigs, + enabledAlerts, + queryConfigActions, } = this.props const {chooseTrigger, updateRuleValues} = ruleActions const {timeRange} = this.state @@ -162,27 +161,17 @@ class KapacitorRule extends Component {
- - )} + @@ -66,6 +81,12 @@ export const ValuesSection = React.createClass({ +