newgrid: fixed migration code to new grid
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user