Skip to content

Commit

Permalink
Only show overlay if container is set (apache#4601)
Browse files Browse the repository at this point in the history
* Pass width in props

* Only load overlay if container is set
  • Loading branch information
betodealmeida authored and michellethomas committed May 23, 2018
1 parent bb9c020 commit 9cf7422
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions superset/assets/javascripts/chart/Chart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ class Chart extends React.PureComponent {
!this.props.chartAlert &&
this.props.refreshOverlayVisible &&
!this.props.errorMessage &&
this.container &&
<RefreshChartOverlay
height={this.height()}
width={this.width()}
Expand Down

0 comments on commit 9cf7422

Please sign in to comment.