Merge pull request #3149 from influxdata/fixes/switching-ceo-tabs

Fixes errors caused by switching query tabs in CEO
pull/3148/head
Brandon Farmer 2018-04-06 17:19:51 -07:00 committed by GitHub
commit 646da4919e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -28,6 +28,7 @@
1. [#3137](https://github.com/influxdata/chronograf/pull/3137): Fixes issues with providing regexp in query
1. [#3144](https://github.com/influxdata/chronograf/pull/3144): Ensure correct basepath prefix in URL pathname when passing InfluxQL query param to Data Explorer
1. [#3128](https://github.com/influxdata/chronograf/pull/3128): Fix type error bug in Kapacitor Alert Config page and persist deleting of team and recipient in OpsGenieConfig
1. [#3149](https://github.com/influxdata/chronograf/pull/3149): Fixes errors caused by switching query tabs in CEO
## v1.4.3.1 [2018-04-02]

View File

@ -33,11 +33,11 @@ class QueryMakerTab extends PureComponent<Props> {
)
}
private handleSelect() {
private handleSelect = () => {
this.props.onSelect(this.props.queryIndex)
}
private handleDelete(e) {
private handleDelete = e => {
e.stopPropagation()
this.props.onDelete(this.props.queryIndex)
}