Merge pull request #1798 from influxdata/bugfix/domain
Give preference to queryConfig rangepull/10616/head
commit
fa94e09210
|
@ -1,5 +1,6 @@
|
|||
## v1.3.6.0 [unreleased]
|
||||
### Bug Fixes
|
||||
1. [#1798](https://github.com/influxdata/chronograf/pull/1798): Fix domain not updating in visualizations when changing time range manually
|
||||
1. [#1799](https://github.com/influxdata/chronograf/pull/1799): Prevent console error spam from Dygraph.synchronize when a dashboard has only one graph
|
||||
|
||||
### Features
|
||||
|
|
|
@ -93,7 +93,8 @@ const Visualization = React.createClass({
|
|||
const {view} = this.state
|
||||
|
||||
const statements = queryConfigs.map(query => {
|
||||
const text = query.rawText || buildInfluxQLQuery(timeRange, query)
|
||||
const text =
|
||||
query.rawText || buildInfluxQLQuery(query.range || timeRange, query)
|
||||
return {text, id: query.id}
|
||||
})
|
||||
const queries = statements.filter(s => s.text !== null).map(s => {
|
||||
|
|
Loading…
Reference in New Issue