Commit 9785e6b6 by Torkel Ödegaard

fix: ignore upgrading dashboard grid when there are no rows

parent d8e4decc
...@@ -669,6 +669,11 @@ export class DashboardModel { ...@@ -669,6 +669,11 @@ export class DashboardModel {
upgradeToGridLayout(old) { upgradeToGridLayout(old) {
let yPos = 0; let yPos = 0;
//let rowIds = 1000; //let rowIds = 1000;
//
if (!old.rows) {
return;
}
for (let row of old.rows) { for (let row of old.rows) {
let xPos = 0; let xPos = 0;
......
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