mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboard: Fixes blank / empty panels after duplicate and add library panel (#35906)
This commit is contained in:
parent
1d6e99bc95
commit
333932812d
@ -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 = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user