diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bd116024c..432466eea8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,9 @@ ### Features 1. [#1112](https://github.com/influxdata/chronograf/pull/1112): Add ability to delete a dashboard - 2. [#1120](https://github.com/influxdata/chronograf/pull/1120): Allow users to update user passwords. - 3. [#1129](https://github.com/influxdata/chronograf/pull/1129): Allow InfluxDB and Kapacitor configuration via ENV vars or CLI options + 1. [#1120](https://github.com/influxdata/chronograf/pull/1120): Allow users to update user passwords. + 1. [#1129](https://github.com/influxdata/chronograf/pull/1129): Allow InfluxDB and Kapacitor configuration via ENV vars or CLI options + 1. [#1130](https://github.com/influxdata/chronograf/pull/1130): Add loading spinner to Alert History page. ### UI Improvements 1. [#1101](https://github.com/influxdata/chronograf/pull/1101): Compress InfluxQL responses with gzip diff --git a/ui/src/alerts/containers/AlertsApp.js b/ui/src/alerts/containers/AlertsApp.js index e6c1617481..5bd902921e 100644 --- a/ui/src/alerts/containers/AlertsApp.js +++ b/ui/src/alerts/containers/AlertsApp.js @@ -114,7 +114,12 @@ class AlertsApp extends Component { render() { const {source} = this.props - const {timeRange} = this.state + const {loading, timeRange} = this.state + + if (loading || !source) { + return
+ } + return (