newgrid: fixed migration code to new grid

This commit is contained in:
Torkel Ödegaard 2017-10-11 16:58:11 +02:00
parent 9358d0c6f7
commit 0d9ac4d5a4

View File

@ -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);