mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
[Dashboard bug] Slice doesn't show loading icon when loading (#3834)
This commit is contained in:
parent
3f076b00cd
commit
eb5d220b5e
@ -20,7 +20,7 @@ export const chartPropType = {
|
||||
export const chart = {
|
||||
chartKey: '',
|
||||
chartAlert: null,
|
||||
chartStatus: null,
|
||||
chartStatus: 'loading',
|
||||
chartUpdateEndTime: null,
|
||||
chartUpdateStartTime: now(),
|
||||
latestQueryFormData: null,
|
||||
|
@ -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}
|
||||
|
@ -11,7 +11,7 @@ text.nv-axislabel {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.dist_bar {
|
||||
.slice_container.dist_bar {
|
||||
overflow-x: auto !important;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user