(cherry picked from commit 333932812d)
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
This commit is contained in:
co-authored by
Torkel Ödegaard
parent
a95eca61ff
commit
3805f72b6a
@@ -162,11 +162,7 @@ export class DashboardGrid extends PureComponent<Props, State> {
|
||||
}
|
||||
|
||||
this.props.dashboard.sortPanelsByGridPos();
|
||||
|
||||
// onLayoutChange is called onMount this marks layout as initialized and we are ready to render panels
|
||||
if (!this.state.isLayoutInitialized) {
|
||||
this.setState({ isLayoutInitialized: true });
|
||||
}
|
||||
this.forceUpdate();
|
||||
};
|
||||
|
||||
triggerForceUpdate = () => {
|
||||
|
||||
Reference in New Issue
Block a user