Merge pull request #12105 from vvlladd28/bug/dashboard-add-widget/mobile-not-show

Fixed add small widget in mobile layout dashboard
This commit is contained in:
Igor Kulikov 2024-11-25 13:57:22 +02:00 committed by GitHub
commit 0c200d963e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -761,7 +761,7 @@ export class DashboardWidget implements GridsterItem, IDashboardWidget {
} else {
res = this.sizeY;
}
return Math.floor(res);
return Math.max(Math.floor(res), 1);
}
set rows(rows: number) {