mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: ignore upgrading dashboard grid when there are no rows
This commit is contained in:
parent
d8e4decc60
commit
9785e6b630
@ -669,6 +669,11 @@ export class DashboardModel {
|
||||
upgradeToGridLayout(old) {
|
||||
let yPos = 0;
|
||||
//let rowIds = 1000;
|
||||
//
|
||||
|
||||
if (!old.rows) {
|
||||
return;
|
||||
}
|
||||
|
||||
for (let row of old.rows) {
|
||||
let xPos = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user