diff --git a/ui/src/kapacitor/components/RuleHeader.js b/ui/src/kapacitor/components/RuleHeader.js index b7efc9b360..12e5220ea0 100644 --- a/ui/src/kapacitor/components/RuleHeader.js +++ b/ui/src/kapacitor/components/RuleHeader.js @@ -60,9 +60,9 @@ export const RuleHeader = React.createClass({ renderSave() { const {validationError, onSave, timeRange, onChooseTimeRange, source} = this.props; const saveButton = validationError ? - : + ) : ; return ( @@ -80,7 +80,7 @@ export const RuleHeader = React.createClass({ const {isEditingName} = this.state; const name = isEditingName ? - this.handleEditName(e, rule)} onBlur={() => this.handleEditNameBlur(rule)} placeholder="Name your rule" - /> : -

+ />) : + (

{rule.name} -

; + ); return (