diff --git a/CHANGELOG.md b/CHANGELOG.md index 84178b9ea4..0a6de2683c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Bug Fixes 1.[#2004](https://github.com/influxdata/chronograf/pull/2004): Fix DE query templates dropdown disappearance. 1.[#2006](https://github.com/influxdata/chronograf/pull/2006): Fix no alert for duplicate db name +1.[#2018](https://github.com/influxdata/chronograf/pull/2018): Fix unresponsive display options and query builder in dashboards ### Features 1. [#1885](https://github.com/influxdata/chronograf/pull/1885): Add `fill` options to data explorer and dashboard queries 1. [#1978](https://github.com/influxdata/chronograf/pull/1978): Support editing kapacitor TICKScript diff --git a/ui/src/shared/components/RefreshingGraph.js b/ui/src/shared/components/RefreshingGraph.js index bda40a7813..22e8f6b54c 100644 --- a/ui/src/shared/components/RefreshingGraph.js +++ b/ui/src/shared/components/RefreshingGraph.js @@ -1,5 +1,7 @@ import React, {PropTypes} from 'react' +import {emptyGraphCopy} from 'src/shared/copy/cell' + import AutoRefresh from 'shared/components/AutoRefresh' import LineGraph from 'shared/components/LineGraph' import SingleStat from 'shared/components/SingleStat' @@ -19,6 +21,16 @@ const RefreshingGraph = ({ synchronizer, editQueryStatus, }) => { + if (!queries.length) { + return ( +
+

+ {emptyGraphCopy} +

+
+ ) + } + if (type === 'single-stat') { return (