[Dashboard bug] Slice doesn't show loading icon when loading (#3834)

This commit is contained in:
Grace Guo
2017-11-13 16:07:15 -08:00
committed by GitHub
parent 3f076b00cd
commit eb5d220b5e
3 changed files with 3 additions and 3 deletions

View File

@@ -151,7 +151,7 @@ class GridLayout extends React.Component {
exploreChartUrl={getExploreUrl(this.props.getFormDataExtra(slice))}
exportCSVUrl={getExploreUrl(this.props.getFormDataExtra(slice), 'csv')}
isExpanded={!!this.isExpanded(slice)}
isLoading={[undefined, 'loading'].indexOf(currentChart.chartStatus) !== -1}
isLoading={currentChart.chartStatus === 'loading'}
isCached={queryResponse.is_cached}
cachedDttm={queryResponse.cached_dttm}
toggleExpandSlice={this.props.toggleExpandSlice}