Skip to content

Commit

Permalink
Only show overlay if container is set (#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 mistercrunch committed Mar 19, 2018
1 parent 83f8f98 commit ba9379b
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 ba9379b

Please sign in to comment.