Fix saving email in Kapacitor alerts (#1173)

* Fix Kapacitor Rules bug to now save user input data on an Alert Message

* Update changelog
pull/10616/head
Jared Scheib 2017-04-04 12:28:01 -07:00 committed by GitHub
parent f1ff071985
commit 23478fffa7
2 changed files with 2 additions and 2 deletions

View File

@ -11,6 +11,7 @@
1. [#1123](https://github.com/influxdata/chronograf/issues/1123): Widen single column results in data explorer
1. [#1164](https://github.com/influxdata/chronograf/pull/1164): Restore ability to save raw queries to a Dashboard Cell
1. [#1115](https://github.com/influxdata/chronograf/pull/1115): Fix Basepath issue where content would fail to render under certain circumstances
1. [#1173](https://github.com/influxdata/chronograf/pull/1173): Fix saving email in Kapacitor alerts
### Features
1. [#1112](https://github.com/influxdata/chronograf/pull/1112): Add ability to delete a dashboard

View File

@ -25,8 +25,7 @@ const RuleMessageAlertConfig = ({
className="form-control size-486"
type="text"
placeholder={DEFAULT_ALERT_PLACEHOLDERS[alert]}
name="alertProperty"
onChange={(evt) => updateAlertNodes(rule.id, alert, evt.target.form.alertProperty.value)}
onChange={(e) => updateAlertNodes(rule.id, alert, e.target.value)}
value={ALERT_NODES_ACCESSORS[alert](rule)}
/>
</div>