mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
build: fixed lint issue
This commit is contained in:
parent
24fe3af20f
commit
fdb217c283
@ -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 {
|
|||||||
|
|
||||||
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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user