mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
newgrid: fixed migration code to new grid
This commit is contained in:
parent
9358d0c6f7
commit
0d9ac4d5a4
@ -709,12 +709,12 @@ export class DashboardModel {
|
||||
|
||||
delete panel.span;
|
||||
|
||||
xPos += rowGridHeight;
|
||||
xPos += panel.gridPos.w;
|
||||
|
||||
this.panels.push(new PanelModel(panel));
|
||||
}
|
||||
|
||||
yPos += height;
|
||||
yPos += rowGridHeight;
|
||||
}
|
||||
|
||||
console.log('panels', this.panels);
|
||||
|
Loading…
Reference in New Issue
Block a user