Commit fdb217c2 by Torkel Ödegaard

build: fixed lint issue

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