mirror of
https://github.com/apache/superset.git
synced 2026-04-22 01:24:43 +00:00
[Bugfix/Feature] Fixed slice render staggering on dashboard first load (#3478)
* Feature: disable dashboard refresh staggering * Removed refresh staggering everywhere except during periodic render
This commit is contained in:
committed by
Maxime Beauchemin
parent
bb0f69d074
commit
e95132ddc3
@@ -35,9 +35,8 @@ class Controls extends React.PureComponent {
|
||||
});
|
||||
}
|
||||
refresh() {
|
||||
this.props.dashboard.sliceObjects.forEach((slice) => {
|
||||
slice.render(true);
|
||||
});
|
||||
// Force refresh all slices
|
||||
this.props.dashboard.renderSlices(this.props.dashboard.sliceObjects, true);
|
||||
}
|
||||
changeCss(css) {
|
||||
this.setState({ css });
|
||||
|
||||
Reference in New Issue
Block a user