[explore] fix empty chart when changing viz type (#2698)

* [explore] fix empty chart when changing viz type

* Lint
This commit is contained in:
Maxime Beauchemin
2017-04-30 10:58:45 -07:00
committed by GitHub
parent 3cd16cf368
commit 3e7b5df287
4 changed files with 16 additions and 4 deletions

View File

@@ -60,6 +60,7 @@ class ChartContainer extends React.PureComponent {
) && !this.props.queryResponse.error
&& this.props.chartStatus !== 'failed'
&& this.props.chartStatus !== 'stopped'
&& this.props.chartStatus !== 'loading'
) {
this.renderViz();
}