Commit 0d9ac4d5 by Torkel Ödegaard

newgrid: fixed migration code to new grid

parent 9358d0c6
...@@ -709,12 +709,12 @@ export class DashboardModel { ...@@ -709,12 +709,12 @@ export class DashboardModel {
delete panel.span; delete panel.span;
xPos += rowGridHeight; xPos += panel.gridPos.w;
this.panels.push(new PanelModel(panel)); this.panels.push(new PanelModel(panel));
} }
yPos += height; yPos += rowGridHeight;
} }
console.log('panels', this.panels); console.log('panels', this.panels);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment