fix: ignore upgrading dashboard grid when there are no rows

This commit is contained in:
Torkel Ödegaard 2017-10-11 14:40:18 +02:00
parent d8e4decc60
commit 9785e6b630

View File

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