build: fixed lint issue

This commit is contained in:
Torkel Ödegaard 2017-11-27 13:19:33 +01:00
parent 24fe3af20f
commit fdb217c283

View File

@ -387,7 +387,6 @@ export class DashboardMigrator {
const showRows = _.some(old.rows, (row) => row.collapse || row.showTitle);
for (let row of old.rows) {
let xPos = 0;
let height: any = row.height || DEFAULT_ROW_HEIGHT;
const rowGridHeight = getGridHeight(height);
@ -420,8 +419,6 @@ export class DashboardMigrator {
delete panel.span;
xPos += panel.gridPos.w;
if (rowPanelModel && rowPanel.collapsed) {
rowPanelModel.panels.push(panel);
} else {